class

Fluxion::CLI::Command

Inherits Reference < Object

One subcommand.

Each owns its own option parsing so fluxion plan --help describes plan rather than a merged surface, and so adding a command touches one file.

Constructors

new(globals : GlobalOptions = GlobalOptions.new, output : IO = STDOUT, error_output : IO = STDERR)
Source

Instance methods

error_output
Source
error_output=(error_output : IO)
Source
globals
Source
name
Source
output

Injectable so specs can assert on what a command renders without spawning the binary, and so a future TUI can capture the same output.

Source
output=(output : IO)

Injectable so specs can assert on what a command renders without spawning the binary, and so a future TUI can capture the same output.

Source
register(parser : OptionParser) : Nil

Command-specific flags. The base registers nothing.

Source
run(arguments : Array(String)) : ExitCode
Source
subcommands

Subcommands beneath this one, for state, tools, import, report.

Source
summary
Source
usage
Source