Class: Mooncell::CLI
- Inherits:
-
Object
- Object
- Mooncell::CLI
- Defined in:
- lib/mooncell/cli.rb,
lib/mooncell/cli/commands.rb,
lib/mooncell/cli/commands/base.rb,
lib/mooncell/cli/commands/server.rb,
lib/mooncell/cli/commands/console.rb,
lib/mooncell/cli/commands/version.rb,
lib/mooncell/cli/commands/registry.rb
Overview
Command Line Interface
Defined Under Namespace
Modules: Commands
Instance Method Summary collapse
- #call ⇒ Object private
Instance Method Details
#call ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
8 9 10 11 12 13 14 |
# File 'lib/mooncell/cli.rb', line 8 def call command = Commands.get(ARGV) # TODO: Display help message return if command.nil? command.call(ARGV) end |