struct Noir::CLI::CompletionCommand::Parsed

Overview

Parsed argv. Extracted from run so the parser stays unit-testable without going through 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/completion.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(shell : String | Nil, help : Bool, error : String | Nil) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(shell _shell = @shell, help _help = @help, error _error = @error) #

[View source]
def error : String | Nil #

def help : Bool #

def shell : String | Nil #