Sha256: dc15f039ff8245b896af5b5df6265423e327121f58ffe4ebb77e7d3f1c982955

Contents?: true

Size: 617 Bytes

Versions: 20

Compression:

Stored size: 617 Bytes

Contents

module Terraspace::CLI::New::Test
  class Base < Thor::Group
    include Thor::Actions
    include Terraspace::CLI::New::Helper

    # Reuse options form Sequence. Tried separting them out and it's not worth it.
    # It introduced too much duplication.
    Terraspace::CLI::New::Sequence.base_options.each { |args| class_option(*args) }
    Terraspace::CLI::New::Sequence.component_options.each { |args| class_option(*args) }

  private
    def test_template_source(template, type)
      source = Terraspace::CLI::New::Source::Test.new(self, @options)
      source.set_source_paths(template, type)
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
terraspace-0.4.4 lib/terraspace/cli/new/test/base.rb
terraspace-0.4.3 lib/terraspace/cli/new/test/base.rb
terraspace-0.4.2 lib/terraspace/cli/new/test/base.rb
terraspace-0.4.1 lib/terraspace/cli/new/test/base.rb
terraspace-0.4.0 lib/terraspace/cli/new/test/base.rb
terraspace-0.3.6 lib/terraspace/cli/new/test/base.rb
terraspace-0.3.5 lib/terraspace/cli/new/test/base.rb
terraspace-0.3.4 lib/terraspace/cli/new/test/base.rb
terraspace-0.3.3 lib/terraspace/cli/new/test/base.rb
terraspace-0.3.2 lib/terraspace/cli/new/test/base.rb
terraspace-0.3.1 lib/terraspace/cli/new/test/base.rb
terraspace-0.3.0 lib/terraspace/cli/new/test/base.rb
terraspace-0.2.4 lib/terraspace/cli/new/test/base.rb
terraspace-0.2.3 lib/terraspace/cli/new/test/base.rb
terraspace-0.2.2 lib/terraspace/cli/new/test/base.rb
terraspace-0.2.1 lib/terraspace/cli/new/test/base.rb
terraspace-0.2.0 lib/terraspace/cli/new/test/base.rb
terraspace-0.1.2 lib/terraspace/cli/new/test/base.rb
terraspace-0.1.1 lib/terraspace/cli/new/test/base.rb
terraspace-0.1.0 lib/terraspace/cli/new/test/base.rb