struct

Noir::CLI::RulesCommand::Parsed

Inherits Struct < Value < Object

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.

Constructors

new(action : String | Nil, help : Bool, debug : Bool, verbose : Bool, error : String | Nil)
Source

Instance methods

action
clone
Source
copy_with(action _action = @action, help _help = @help, debug _debug = @debug, verbose _verbose = @verbose, error _error = @error)
Source
debug
error
help
verbose