struct Athena::Cli::Registry
- Athena::Cli::Registry
- Struct
- Value
- Object
Overview
Stores the available commands.
Defined in:
cli/registry.crConstructors
Class Method Summary
-
.commands : Array(Athena::Cli::Command.class)
Array of available commands.
-
.find(name : String) : Athena::Cli::Command.class
Returns the command with the given name.
-
.to_s : String
Displays the available commands.
Instance Method Summary
Constructor Detail
Class Method Detail
Array of available commands. Auto registered at compile time.
Returns the command with the given name.
Raises if no command has that name.