# `mix bonny.gen.controller`
[🔗](https://github.com/coryodaniel/bonny/blob/v1.5.0/lib/mix/tasks/bonny.gen.controller.ex#L1)

Generates a new CRD controller

An operator can have multiple controllers. Each controller handles the lifecycle of a custom resource.

```shell
mix bonny.gen.controller
```
Open up your controller and add functionality for your resources lifecycle:

* Add
* Modify
* Delete
* Reconcile

If you selected to add a CRD, also edit the generated CRD version module.

# `get_input`

# `run`

```elixir
@spec run([binary()]) :: Keyword.t()
```

---

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