abstract class Clim::Command

Included Modules

Defined in:

clim/command.cr
clim/command/macros.cr
clim/command/options.cr
clim/command/options/option.cr
clim/command/parser.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def alias_name : Array(String) #

[View source]
def alias_name(*names) : Array(String) #

[View source]
def alias_name=(alias_name : Array(String)) #

[View source]
def desc : String #

[View source]
def help_line_of(cmd) #

[View source]
def help_template #

[View source]
def max_sub_command_name_length #

[View source]
def name : String #

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

[View source]
def names #

[View source]
def options_help_info #

[View source]
def parse(argv) #

[View source]
def recursive_parse(argv) #

[View source]
abstract def run(io : IO) #

[View source]
def sub_commands : Array(Command) #

[View source]
def sub_commands=(sub_commands : Array(Command)) #

[View source]
def sub_commands_help_info #

[View source]
def usage : String #

[View source]
def version_str : String #

[View source]