Current section
Files
Jump to
Current section
Files
priv/docs/templates/features_callback.md
This callback returns a list containing the features tested by`<%= info.name %>`
## Available variables
### State
- `state` contains the complete dynamic state of the model.
<%= for attr <- info.attrs, do: "- `#{Macro.var(attr, nil) |> Macro.to_string}` attribute defined in the state declaration.\n" %>
### Arguments
- `arguments` contains all the generated arguments of the command.
<%= for arg <- info.args, do: "- `#{Macro.var(arg, nil) |> Macro.to_string}` argument defined in the command declaration.\n" %>
### Result
- `result` variable that contains the result of the command execution.