Current section
Files
Jump to
Current section
Files
priv/docs/templates/args_callback.md
This callback returns the generator of arguments for the command `<%= info.name %>`.
## Available variables
### State
- `state` contains all the attributes of the model.
<%= for attr <- info.attrs, do: "- `#{Macro.var(attr, nil) |> Macro.to_string}` defined in the model state.\n" %>