class Mint::Cli::Highlight
- Mint::Cli::Highlight
- Admiral::Command
- Reference
- Object
Included Modules
Defined in:
commands/tool/highlight.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 Mint::Cli::Command
check_dependencies!
check_dependencies!,
error(message, position)
error,
execute(message : String, *, check_dependencies : Bool = false, env : String | Nil = nil, & : -> T) : T | Nil forall T
execute,
terminal
terminal
Instance methods inherited from module Mint::Errorable
error!(name : Symbol, &)
error!,
unreachable!(message : String)
unreachable!
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.