module Athena::Console::Loader::Interface
#
Normally the ACON::Application#add
method requires instances of each command to be provided.
ACON::Loader::Interface
provides a way to lazily instantiate only the command(s) being called,
which can be more performant since not every command needs instantiated.
Direct including types
Athena::Console::Loader::Factory
Methods#
abstract #get(name : String) : ACON::Command
#
Returns an ACON::Command
with the provided name.
Raises ACON::Exception::CommandNotFound
if it is not defined.
abstract #has?(name : String) : Bool
#
Returns true
if self
has a command with the provided name, otherwise false
.