Module: Magi

Defined in:
lib/magi/command.rb,
lib/magi.rb,
lib/magi/version.rb,
lib/magi/executer.rb,
lib/magi/responder.rb,
lib/magi/scheduler.rb,
lib/magi/workspace.rb,
lib/magi/proprietary.rb,
lib/magi/configuration.rb,
lib/magi/plugin_manager.rb

Overview

Provides command line interface for Magi.

Examples

# Takes ARGV and invokes a job.
Magi::Command.call(ARGV)

# Invokes "setup" command to set up your database.
Magi::Command.call(["setup"])

# Invokes "start" command to start the processes.
Magi::Command.call(["start"])

Defined Under Namespace

Modules: Proprietary Classes: Command, Configuration, Executer, PluginManager, Responder, Scheduler, Workspace

Constant Summary collapse

VERSION =
"0.1.6"

Class Method Summary collapse

Class Method Details

.configurationObject



10
11
12
# File 'lib/magi.rb', line 10

def configuration
  @configuration ||= Magi::Configuration.new
end

.plugin_managerObject



14
15
16
# File 'lib/magi.rb', line 14

def plugin_manager
  @plugin_manager ||= Magi::PluginManager.new
end