struct Noir::CLI::VersionCommand::Parsed

Overview

Parsed argv. #unknown is set when an unrecognised token appears so the spec layer can verify the validation rule without going through the die exit path that run enforces.

Defined in:

cli/commands/version.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(verbose : Bool, help : Bool, unknown : String | Nil) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(verbose _verbose = @verbose, help _help = @help, unknown _unknown = @unknown) #

[View source]
def help : Bool #

def unknown : String | Nil #

def verbose : Bool #