class Cryogen::CLI::Show
- Cryogen::CLI::Show
- Admiral::Command
- Reference
- Object
Included Modules
Defined in:
cryogen/cli/show.crConstant 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 Cryogen::CLI::Helpers
error(str : String)
error,
obtain_key! : Key
obtain_key!,
prompt(prompt_str : String, important : Bool = false, echo : Bool = true) : String
prompt,
require_editor!
require_editor!,
require_locked_vault!
require_locked_vault!,
require_tty!
require_tty!,
require_unlocked_vault!
require_unlocked_vault!,
require_vault!
require_vault!,
success(str : String)
success,
warn(str : String, important : Bool = false)
warn
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.