class Glassy::Console::ArgumentParser

Defined in:

glassy-console/argument_parser.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(args : Array(String), bool_args_names : Array(String)) #

[View source]

Instance Method Detail

def cmp_option(name1 : String, name2 : String) #

[View source]
def get_arguments : Array(String) #

[View source]
def get_bool_option(name : String) : Bool #

[View source]
def get_option(name : String) : String | Nil #

[View source]
def get_option_names : Array(String) #

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

[View source]
def is_boolean_option(name : String) : Bool #

[View source]
def is_option(name : String) : Bool #

[View source]
def is_option_value(value : String, last_name : String) #

[View source]
def parse_value(value : String) #

[View source]