struct

Noir::CLI::CacheCommand::Parsed

Inherits Struct < Value < Object

Parsed argv. Extracted from run so the parser itself stays unit-testable — run still owns the exit/die side effects. error is recorded rather than raised so run can turn it into a clean Noir::CLI.die line.

Constructors

new(action : String | Nil, rest : Array(String), help : Bool, error : String | Nil)
Source

Instance methods

action
clone
Source
copy_with(action _action = @action, rest _rest = @rest, help _help = @help, error _error = @error)
Source
error
help
rest