class

Commander::Command

Inherits Reference / Object

Constructors

new(help : Bool = false, flags : Commander::Flags = Flags.new)
Source
new(help = false, flags = Flags.new, &)
Source

Instance methods

commands
Source
flags
Source
help
Source
ignore_unmapped_flags=(ignore_unmapped_flags : Bool)
Source
ignore_unmapped_flags?
Source
invoke(params : Params, command : Command = self)
Source
long
Source
long=(long : String)
Source
run(runner : Runner)
Source
runner
Source
runner=(runner : Runner | OptionalRunner | NoReturnRunner | ArrayStringRunner)
Source
short
Source
short=(short : String)
Source
use=(use : String)
Source