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

#describeObject



96
97
98
99
# File 'lib/gene_system/cli.rb', line 96

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

#installObject



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

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



83
84
85
86
# File 'lib/gene_system/cli.rb', line 83

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