class CliGen::CommandNode

Direct Known Subclasses

Defined in:

cligen/command_node.cr

Constructors

Instance Method Summary

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 check! #

def check_for_duplicates!(flags : Array(BaseFlag)) #

def find_match(arg : String) #

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


def process(args : Array(Arg)) : Nil #