Class: TestbotCloud::Cli
- Inherits:
-
Thor
- Object
- Thor
- TestbotCloud::Cli
- Includes:
- Thor::Actions
- Defined in:
- lib/cli.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.source_root ⇒ Object
10 11 12 |
# File 'lib/cli.rb', line 10 def self.source_root File.dirname(__FILE__) + "/templates" end |
Instance Method Details
#new(name) ⇒ Object
15 16 17 18 19 |
# File 'lib/cli.rb', line 15 def new(name) copy_file "config.yml", "#{name}/config.yml" copy_file "gitignore", "#{name}/.gitignore" copy_file "runner.sh", "#{name}/bootstrap/runner.sh" end |
#version ⇒ Object
32 33 34 |
# File 'lib/cli.rb', line 32 def version puts "TestbotCloud #{TestbotCloud::VERSION}" end |