Class: GeneSystem::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/gene_system/cli.rb

Overview

Command line interface helpers and actions

Instance Method Summary collapse

Instance Method Details

#installObject



46
47
48
49
# File 'lib/gene_system/cli.rb', line 46

def install
  cmd = GeneSystem::Commands::InstallManifest.new(options)
  cmd.run
end

#newObject



33
34
35
36
# File 'lib/gene_system/cli.rb', line 33

def new
  cmd = GeneSystem::Commands::CreateManifest.new(options)
  cmd.run
end

#removeObject



59
60
61
62
# File 'lib/gene_system/cli.rb', line 59

def remove
  cmd = GeneSystem::Commands::RemoveManifest.new(options)
  cmd.run
end

#versionObject



14
15
16
17
# File 'lib/gene_system/cli.rb', line 14

def version
  cmd = GeneSystem::Commands::PrintVersion.new(options)
  cmd.run
end