Class: GeneSystem::CLI
- Inherits:
-
Thor
- Object
- Thor
- GeneSystem::CLI
- Defined in:
- lib/gene_system/cli.rb
Overview
Command line interface helpers and actions
Instance Method Summary collapse
Instance Method Details
#install ⇒ Object
46 47 48 49 |
# File 'lib/gene_system/cli.rb', line 46 def install cmd = GeneSystem::Commands::InstallManifest.new() cmd.run end |
#new ⇒ Object
33 34 35 36 |
# File 'lib/gene_system/cli.rb', line 33 def new cmd = GeneSystem::Commands::CreateManifest.new() cmd.run end |
#remove ⇒ Object
59 60 61 62 |
# File 'lib/gene_system/cli.rb', line 59 def remove cmd = GeneSystem::Commands::RemoveManifest.new() cmd.run end |
#version ⇒ Object
14 15 16 17 |
# File 'lib/gene_system/cli.rb', line 14 def version cmd = GeneSystem::Commands::PrintVersion.new() cmd.run end |