class

MStrap::Step

Inherits MStrap::DSL / MStrap::DSL::System / MStrap::DSL::Logging / Reference / Object

Constructors

new(config : Configuration, cli_options : CLIOptions, args : Array(String) = [] of String)

Initializes the step. Called by MStrap::Bootsrapper. Typically not called directly.

Source

Class methods

description

Short description of the step. Leveraged by the CLI help system.

Source
long_description
Source
requires_mstrap?

Whether the step requires the mstrap environment to be loaded (env.sh)

Source
requires_shell_restart?

Whether the step requires the shell to be restarted after being run

Source
setup_cmd!(cmd : Commander::Command)

Hook that can be implemented to modify CLI command flags or subcommands.

Source

Instance methods

args

Extra arguments passed to the step not processed by the main CLI

Source
bootstrap

Executes the step

Source
config

Loaded configuration for mstrap

Source
options

Options passed from the CLI

Source
profile

Resolved profile for mstrap

Source
runtime_managers

Language runtime managers in use

Source
runtimes

Language runtimes

Source
user

User configured for mstrap

Source