struct Noir::CLI::CacheCommand::Parsed

Overview

Parsed argv. Extracted from run so the parser itself stays unit-testable — run still owns the exit/die side effects.

Defined in:

cli/commands/cache.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(action : String | Nil, rest : Array(String), help : Bool) #

[View source]

Instance Method Detail

def action : String | Nil #

def clone #

[View source]
def copy_with(action _action = @action, rest _rest = @rest, help _help = @help) #

[View source]
def help : Bool #

def rest : Array(String) #