class

Envcat::Cli

Inherits Reference / Object

Constants

E_BUG = 255
E_INVALID = 1
E_IO = 7
E_OK = 0
E_PARSE = 11
E_SYNTAX = 3
E_UNDEFINED = 5
HELP_FOOTER = "See https://github.com/busyloop/envcat for documentation and usage examples."

Constructors

new(strings : Indexable(String) = ARGV)
Source

Class methods

be_helpful(opts, io)
Source
check_format_flag(opts)
Source
default_format
Source
help
Source
invoke(argv = ARGV, io_out = STDOUT, io_err = STDERR, io_in = STDIN)
Source
process_check_flags(opts, env)
Source
process_format_flag(opts, env, io_out, io_err, io_in)
Source
process_input_flags(opts)
Source
process_set_flags(opts, envs)
Source
process_version_flag(opts, io)
Source
toka_options

Descriptor of available options

Instance methods

check

Getter for check. This option can be accessed through the long-option --check or the short-option -c

format

Getter for format. This option can be accessed through the long-option --format or the short-option -f

help

Getter for help. This option can be accessed through the long-option --help or the short-option -h, -H

help?

Getter for help. See #help for full documentation.

input

Generate option getters Getter for input. This option can be accessed through the long-option --input or the short-option -i

positional_options
set

Getter for set. This option can be accessed through the long-option --set or the short-option -s

version

Getter for version. This option can be accessed through the long-option --version or the short-option

version?

Getter for version. See #version for full documentation.

Nested types