# `mix membrane.gen.bin`
[🔗](https://github.com/membraneframework/membrane-core/blob/v1.3.0/lib/mix/tasks/membrane.gen.component.ex#L5)

Generates a template for a Membrane Bin with the provided module name.

  $ mix membrane.gen.bin module_name [-l target_location]

## Options
* `-l, --location` - If a target location is provided, the Bin will be created there, relative to the `lib` directory.
  The filename must also be present and have an `.ex` extension. If location is not provided, then it will be
  inferred from the provided module name - it will be converted to lowercase and `.` separators will be interpreted
  as directory separators. For example, a Bin with module name `Foo.Bar` will be created at `lib/foo/bar.ex`. 

# `do_run`

```elixir
@spec do_run(binary(), [binary()]) :: any()
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
