class
Squarectl::CLI
- Squarectl::CLI
- Admiral::Command
- Reference
- Object
Overview
Root of the Admiral command tree and the program entry point.
Each top-level subcommand (defined under cli/) registers its own leaf
commands. Every leaf follows the same shape: load the config, resolve the
environment for its target, build a Task, and hand off to a Tasks::*
class. rescue_unknown_cmd (see admiral_patch.cr) prints help instead of
crashing on an unknown subcommand.
:nodoc:
Included Modules
- Admiral::Command::Run
Defined in:
squarectl/cli.crsquarectl/cli/completion.cr
squarectl/cli/compose.cr
squarectl/cli/configs.cr
squarectl/cli/info.cr
squarectl/cli/kube.cr
squarectl/cli/secrets.cr
squarectl/cli/swarm.cr
Constant Summary
-
HELP =
{"description" => ""} -
Root of the Admiral command tree and the program entry point.
Each top-level subcommand (defined under
cli/) registers its own leaf commands. Every leaf follows the same shape: load the config, resolve the environment for its target, build aTask, and hand off to aTasks::*class.rescue_unknown_cmd(seeadmiral_patch.cr) prints help instead of crashing on an unknown subcommand.:nodoc:
Class Method Summary
-
.description
Root of the Admiral command tree and the program entry point.
-
.run(*args, **params)
Root of the Admiral command tree and the program entry point.
Instance Method Summary
-
#__rescue_from___Admiral__Error(e)
Root of the Admiral command tree and the program entry point.
-
#arguments
Root of the Admiral command tree and the program entry point.
-
#flags
Root of the Admiral command tree and the program entry point.
- #help
-
#run
The run command.
-
#sub(command, *args, **params)
Root of the Admiral command tree and the program entry point.
- #version
Instance methods inherited from class Admiral::Command
rescue_unknown_cmd(&)
rescue_unknown_cmd
Class Method Detail
Root of the Admiral command tree and the program entry point.
Each top-level subcommand (defined under cli/) registers its own leaf
commands. Every leaf follows the same shape: load the config, resolve the
environment for its target, build a Task, and hand off to a Tasks::*
class. rescue_unknown_cmd (see admiral_patch.cr) prints help instead of
crashing on an unknown subcommand.
:nodoc:
Root of the Admiral command tree and the program entry point.
Each top-level subcommand (defined under cli/) registers its own leaf
commands. Every leaf follows the same shape: load the config, resolve the
environment for its target, build a Task, and hand off to a Tasks::*
class. rescue_unknown_cmd (see admiral_patch.cr) prints help instead of
crashing on an unknown subcommand.
:nodoc:
Instance Method Detail
Root of the Admiral command tree and the program entry point.
Each top-level subcommand (defined under cli/) registers its own leaf
commands. Every leaf follows the same shape: load the config, resolve the
environment for its target, build a Task, and hand off to a Tasks::*
class. rescue_unknown_cmd (see admiral_patch.cr) prints help instead of
crashing on an unknown subcommand.
:nodoc:
Root of the Admiral command tree and the program entry point.
Each top-level subcommand (defined under cli/) registers its own leaf
commands. Every leaf follows the same shape: load the config, resolve the
environment for its target, build a Task, and hand off to a Tasks::*
class. rescue_unknown_cmd (see admiral_patch.cr) prints help instead of
crashing on an unknown subcommand.
:nodoc:
Root of the Admiral command tree and the program entry point.
Each top-level subcommand (defined under cli/) registers its own leaf
commands. Every leaf follows the same shape: load the config, resolve the
environment for its target, build a Task, and hand off to a Tasks::*
class. rescue_unknown_cmd (see admiral_patch.cr) prints help instead of
crashing on an unknown subcommand.
:nodoc:
Root of the Admiral command tree and the program entry point.
Each top-level subcommand (defined under cli/) registers its own leaf
commands. Every leaf follows the same shape: load the config, resolve the
environment for its target, build a Task, and hand off to a Tasks::*
class. rescue_unknown_cmd (see admiral_patch.cr) prints help instead of
crashing on an unknown subcommand.
:nodoc: