class Mint::Cli
- Mint::Cli
- Admiral::Command
- Reference
- Object
Included Modules
- Admiral::Command::Run
- Mint::Cli::Command
Defined in:
cli.crcommands/build.cr
commands/clean.cr
commands/command.cr
commands/compile.cr
commands/docs.cr
commands/docs_generate.cr
commands/format.cr
commands/highlight.cr
commands/init.cr
commands/install.cr
commands/lint.cr
commands/loc.cr
commands/ls.cr
commands/sandbox_server.cr
commands/start.cr
commands/test.cr
commands/version.cr
Constant Summary
-
HELP =
{"description" => ""}
Class Method Summary
Instance Method Summary
- #__rescue_from___Admiral__Error(e)
-
#arguments
Returns the commands
Arguments
object. -
#flags
Returns the commands
Flags
object. - #help
-
#run
The run command.
-
#sub(command, *args, **params)
Invokes a sub command by name, passing
self
as the parent.
Instance methods inherited from module Mint::Cli::Command
error(message, position)
error,
execute(message, &)
execute,
terminal
terminal
Class Method Detail
Instance Method Detail
def arguments
#
Description copied from class Admiral::Command
Returns the commands Arguments
object.
You can access names arguments by name.
You can also access the remaning arguments using .arguments[index]
.
def flags
#
Description copied from class Admiral::Command
Returns the commands Flags
object.
You can access names flags by name.
def sub(command, *args, **params)
#
Description copied from class Admiral::Command
Invokes a sub command by name, passing self
as the parent.