class
CliGen::CommandNode
- CliGen::CommandNode
- Reference
- Object
Direct Known Subclasses
Defined in:
cligen/command_node.crConstructors
Instance Method Summary
- #check!
- #check_for_duplicates!(flags : Array(BaseFlag))
- #find_match(arg : String)
-
#process(args : Array(String))
This serves to just convert the arguments into a usable Array(Arg) format and pass it to the ACTUAL CommandNode#process method
- #process(args : Array(Arg)) : Nil
Constructor Detail
def self.new(name : String, flags : Array(CliGen::BaseFlag), commands : Array(CliGen::CommandNode), pre_run_commands : Array(_), post_run_commands : Array(_))
#
Instance Method Detail
def process(args : Array(String))
#
This serves to just convert the arguments into a usable Array(Arg) format and pass it to the ACTUAL CommandNode#process method