Class: Linecook::Executable

Inherits:
CommandSet show all
Defined in:
lib/linecook/executable.rb

Class Method Summary collapse

Methods inherited from CommandSet

#call, command_list, parse, #process, run

Methods inherited from Command

#call, help, #initialize, parse, #process, signature

Constructor Details

This class inherits a constructor from Linecook::Command

Class Method Details

.commandsObject



13
14
15
16
17
18
19
20
21
22
23
24
25
# File 'lib/linecook/executable.rb', line 13

def commands
  {
    'build'          => Linecook::Commands::Build,
    'compile'        => Linecook::Commands::Compile,
    'compile-helper' => Linecook::Commands::CompileHelper,
    'start'          => Linecook::Commands::Start,
    'stop'           => Linecook::Commands::Stop,
    'state'          => Linecook::Commands::State,
    'snapshot'       => Linecook::Commands::Snapshot,
    'ssh'            => Linecook::Commands::Ssh,
    'run'            => Linecook::Commands::Run
  }
end