class Commander::Command
- Commander::Command
- Reference
- Object
Defined in:
commander/command.crConstructors
- .new(help : Bool = false, flags : Commander::Flags = Flags.new)
- .new(help = false, flags = Flags.new, &)
Instance Method Summary
- #commands : Commands
- #flags : Flags
- #help
- #ignore_unmapped_flags=(ignore_unmapped_flags : Bool)
- #ignore_unmapped_flags? : Bool
- #invoke(params : Params, command : Command = self)
- #long : String
- #long=(long : String)
- #run(&runner : Runner)
- #run(runner : Runner)
- #runner : Runner | OptionalRunner | NoReturnRunner | ArrayStringRunner
- #runner=(runner : Runner | OptionalRunner | NoReturnRunner | ArrayStringRunner)
- #short : String
- #short=(short : String)
- #use : String
- #use=(use : String)