class

Mrcv::Cli::Options

Inherits Reference < Object

Encapsulates parsed CLI configuration options.

Constructors

new(directory : String = ".", deep : Bool = false, fast : Bool = false, verify : Bool = true, runner : String = "podman", target : String | Nil = nil, format : String = "text", min_version : Core::Version | Nil = nil, max_version : Core::Version | Nil = nil, offline : Bool = false, verbose : Bool = false, help : Bool = false, version : Bool = false)
Source

Instance methods

deep

Alias getters for boolean flags

Source
deep=(deep : Bool)
Source
deep?
Source
directory
Source
directory=(directory : String)
Source
execution_mode

Determines the execution mode (Deep runtime specs vs Fast frontend compile)

Source
fast
Source
fast=(fast : Bool)
Source
fast?
Source
format
Source
format=(format : String)
Source
help
Source
help=(help : Bool)
Source
help?
Source
json?

Returns true if JSON output format is selected

Source
max_version
Source
max_version=(max_version : Core::Version | Nil)
Source
min_version
Source
min_version=(min_version : Core::Version | Nil)
Source
offline
Source
offline=(offline : Bool)
Source
offline?
Source
runner
Source
runner=(runner : String)
Source
runner_name

Alias for runner name

Source
show_help?

Alias for help predicate

Source
show_version?

Alias for version predicate

Source
target
Source
target=(target : String | Nil)
Source
target_path

Alias for target path

Source
text?

Returns true if Plain Text output format is selected

Source
validate!

Validates parsed options for semantic invariants. Raises Mrcv::ArgumentError if any configuration is invalid.

Source
verbose
Source
verbose=(verbose : Bool)
Source
verbose?
Source
verify
Source
verify=(verify : Bool)
Source
verify?
Source
version
Source
version=(version : Bool)
Source
version?
Source