struct
Noir::CLI::ConfigCommand::Parsed
- Noir::CLI::ConfigCommand::Parsed
- Struct
- Value
- Object
Overview
Parsed argv. Extracted from run (mirroring CacheCommand.parse_argv)
so the parsing rules stay unit-testable — run keeps the exit/die
side effects. #error is recorded rather than raised so run can turn
it into a clean Noir::CLI.die line.
Defined in:
cli/commands/config.crConstructors
Instance Method Summary
- #action : String | Nil
- #clone
- #copy_with(action _action = @action, override_path _override_path = @override_path, help _help = @help, error _error = @error)
- #error : String | Nil
- #help : Bool
- #override_path : String | Nil
Constructor Detail
def self.new(action : String | Nil, override_path : String | Nil, help : Bool, error : String | Nil)
#
Instance Method Detail
def copy_with(action _action = @action, override_path _override_path = @override_path, help _help = @help, error _error = @error)
#