abstract class Cli::Help

Direct Known Subclasses

Defined in:

cli/help.cr

Constant Summary

TYPES = {:argument => :argument, :array => :option, :bool => :option, :string => :option, :string_array => :option, :handler => :handler}

Constructors

Class Method Summary

Instance Method Summary

Macro Summary

Constructor Detail

def self.new(indent : Int32 = 2) #

[View source]

Class Method Detail

def self.__caption #

[View source]
def self.__default_title #

[View source]
def self.__footer #

[View source]
def self.__global_name #

[View source]
def self.__header #

[View source]
def self.__local_name #

[View source]
def self.__normalize_definition_name(name) #

[View source]
def self.__reverse_case(s) #

[View source]
def self.__sort_description(description) #

[View source]
def self.__title #

[View source]
def self.__unparsed_args #

[View source]
def self.__yield(&) #

[View source]
def self.global_name #

[View source]
def self.local_name #

[View source]

Instance Method Detail

def __arguments #

[View source]
def __array_size_of(definition) #

[View source]
def __caption #

[View source]
def __default_of(definition) #

[View source]
def __default_title #

[View source]
def __definition_descriptions #

[View source]
def __description_of(definition) #

[View source]
def __footer #

[View source]
def __header #

[View source]
def __join_description(*types) #

[View source]
def __names_of(definition) #

[View source]
def __options #

[View source]
def __text #

[View source]
def __title #

[View source]
def __unparsed_args #

[View source]
def __variable_name_of(definition) #

[View source]

Macro Detail

macro caption(block) #

[View source]
macro footer(block) #

[View source]
macro header(block) #

[View source]
macro title(block) #

[View source]
macro unparsed_args(block) #

[View source]