wand v0.3.2 Wand.CLI.Command behaviour View Source
The interface for each type of command that wand supports. To add a new command, the following things must take place:
- Add the name of the module to routes below
- Create a module inside the lib/cli/commands folder that implements
Wand.CLI.Command
- Update
Wand.CLI.ArgParser
if you need to add a shorthand version - Update the help file in
Wand
with the appropriate text
Link to this section Summary
Link to this section Types
Link to this section Functions
Link to this section Callbacks
Link to this callback
execute(data, extras)
View Source
execute(data :: any(), extras :: map()) :: ok_or_exit()