class

Marten::CLI::Manage

Inherits Reference / Object

The manage CLI.

The manage (or management) CLI allows developers to interact with their Marten projects by issuing sub-commands. These sub-commands are either "built-in" (Marten comes with a predefined set of commands to handle various things such as database management, projects / apps initializations, etc), or they are provided by installed apps.

Constructors

new(options : Array(String), stdout : IO = STDOUT, stderr : IO = STDERR, name : String = Marten::CLI::DEFAULT_COMMAND_NAME)
Source

Class methods

register_subcommand(command_klass : Command::Base.class)

Allows to register a new command in order to make it available to the management CLI.

Source

Instance methods

Nested types