struct Athena::Cli::Registry

Overview

Stores the available commands.

Defined in:

cli/registry.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Class Method Detail

def self.commands : Array(Athena::Cli::Command.class) #

Array of available commands. Auto registered at compile time.


def self.find(name : String) : Athena::Cli::Command.class #

Returns the command with the given name.

Raises if no command has that name.


[View source]
def self.to_s : String #

Displays the available commands.


[View source]

Instance Method Detail

def initialize #

[View source]