Class: Terraspace::CLI::New::Test::Bootstrap
- Defined in:
- lib/terraspace/cli/new/test/bootstrap.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.options ⇒ Object
3 4 5 6 7 |
# File 'lib/terraspace/cli/new/test/bootstrap.rb', line 3 def self. [ [:dir, default: ".", desc: "directory to write to"], ] end |
Instance Method Details
#create ⇒ Object
11 12 13 14 15 16 |
# File 'lib/terraspace/cli/new/test/bootstrap.rb', line 11 def create return if [:test] == false puts "=> Creating test bootstrap structure" test_template_source([:lang], "bootstrap") directory ".", [:dir] end |