struct
Noir::CLI::RulesCommand::Parsed
- Noir::CLI::RulesCommand::Parsed
- Struct
- Value
- Object
Overview
Parsed argv. Pulled out of run so the parser can be exercised in
unit specs without triggering the exit/die side effects. #error
is recorded (rather than raised) when argv is malformed so run can
turn it into a clean Noir::CLI.die line.
Defined in:
cli/commands/rules.crConstructors
Instance Method Summary
- #action : String | Nil
- #clone
- #copy_with(action _action = @action, help _help = @help, debug _debug = @debug, verbose _verbose = @verbose, error _error = @error)
- #debug : Bool
- #error : String | Nil
- #help : Bool
- #verbose : Bool
Constructor Detail
def self.new(action : String | Nil, help : Bool, debug : Bool, verbose : Bool, error : String | Nil)
#
Instance Method Detail
def copy_with(action _action = @action, help _help = @help, debug _debug = @debug, verbose _verbose = @verbose, error _error = @error)
#