class Glassy::Console::ArgumentValidator

Defined in:

glassy-console/argument_validator.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(rules : Hash(String, ArgRule)) #

[View source]

Instance Method Detail

def error_message : String | Nil #

[View source]
def error_message=(error_message : String | Nil) #

[View source]
def get_arg_rules : Hash(String, ArgRule) #

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

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

[View source]
def validate(argv : Array(String)) : Bool #

[View source]
def validate(parser : ArgumentParser) : Bool #

[View source]