struct Clicr::Command(Action, Arguments, Commands, Options)
- Clicr::Command(Action, Arguments, Commands, Options)
- Struct
- Value
- Object
Included Modules
Defined in:
command.crClass Method Summary
Instance Method Summary
- #arguments
- #description
- #exclude
-
#exec(command_name : String, clicr : Clicr)
Executes an action, if availble.
- #inherit
- #label
- #name
- #options
- #short
- #sub_commands
Class Method Detail
def self.create(name : String, short : String, label : String | Nil = nil, description : String | Nil = nil, inherit : Array(String) | Nil = nil, exclude : Array(String) | Nil = nil, action : Action = nil, arguments : Arguments = nil, commands : Commands = nil, options : Options = nil)
#