class Commander::Command

Defined in:

commander/command.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(help : Bool = false, flags : Commander::Flags = Flags.new) #

[View source]
def self.new(help = false, flags = Flags.new, &) #

[View source]

Instance Method Detail

def commands : Commands #

[View source]
def flags : Flags #

[View source]
def help #

[View source]
def ignore_unmapped_flags=(ignore_unmapped_flags : Bool) #

[View source]
def ignore_unmapped_flags? : Bool #

[View source]
def invoke(params : Params, command : Command = self) #

[View source]
def long : String #

[View source]
def long=(long : String) #

[View source]
def run(&runner : Runner) #

[View source]
def run(runner : Runner) #

[View source]

[View source]

[View source]
def short : String #

[View source]
def short=(short : String) #

[View source]
def use : String #

[View source]
def use=(use : String) #

[View source]