Scaffolds a Jido action module
Creates a new module that uses Jido.Action, with a starter schema and
a run/2 callback returning {:ok, %{}}.
Examples
mix bb_jido.add_action MyApp.Actions.PickObject
mix bb_jido.add_action MyApp.Actions.MovePose --safety-aware
mix bb_jido.add_action MyApp.Actions.Teleop --name teleop_step
Arguments
The first positional argument is the module name for the new action (required).
Options
--name- The Jidoname:string for the action (defaults to a snake_cased version of the module's last segment).--description- The Jidodescription:string.--safety-aware- Mix inBB.Jido.Action.SafetyAwareso the action refuses to run unlessBB.Safety.state(robot) == :armed. Adds a:robotfield to the schema.