# `mix ash.gen.enum`
[🔗](https://github.com/ash-project/ash/blob/v3.23.1/lib/mix/tasks/gen/ash.gen.enum.ex#L6)

Generates an Ash.Type.Enum

## Example

```bash
mix ash.gen.enum MyApp.Support.Ticket.Types.Status open,closed --short-name ticket_status
```

## Options

- `--short-name`, `-s`: Register the type under the provided shortname, so it can be referenced like `:short_name` instead of the module name.
- `--ignore-if-exists` - Does nothing if the resource already exists

---

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