Sha256: 297b31766e7e76f4b13e63bf66b958326d02e09a40fc049677869aa158d7fd9e

Contents?: true

Size: 571 Bytes

Versions: 118

Compression:

Stored size: 571 Bytes

Contents

module Awspec
  class Toolbox < Thor
    desc 'docgen > doc/resource_types.md', 'Generate doc/resource_types.md document'
    def docgen
      puts Awspec::Generator::Doc::Type.generate_doc
    end

    desc 'template [resource_type_name]', 'Generate template files'
    option :account_attribute, type: :boolean, default: false, aliases: :a
    def template(type)
      if options[:account_attribute]
        puts Awspec::Generator::Template.generate_account_attribute(type)
      else
        puts Awspec::Generator::Template.generate(type)
      end
    end
  end
end

Version data entries

118 entries across 118 versions & 4 rubygems

Version Path
cthiesfork-awspec-1.2.2 lib/awspec/toolbox.rb
cthiesfork-awspec-1.2.1 lib/awspec/toolbox.rb
awspec-1.18.5 lib/awspec/toolbox.rb
cthiesfork-awspec-1.2.0 lib/awspec/toolbox.rb
cthiesfork-awspec-1.1.0 lib/awspec/toolbox.rb
cthiesfork-awspec-1.0.0 lib/awspec/toolbox.rb
awspec-1.18.4 lib/awspec/toolbox.rb
awspec-1.18.3 lib/awspec/toolbox.rb
awspec-1.18.2 lib/awspec/toolbox.rb
awspec-1.18.1 lib/awspec/toolbox.rb
awspec-1.18.0 lib/awspec/toolbox.rb
awspec-1.17.4 lib/awspec/toolbox.rb
awspec-1.17.3 lib/awspec/toolbox.rb
awspec-1.17.2 lib/awspec/toolbox.rb
awspec-1.17.1 lib/awspec/toolbox.rb
awspec-1.17.0 lib/awspec/toolbox.rb
awspec-1.16.1 lib/awspec/toolbox.rb
awspec-1.16.0 lib/awspec/toolbox.rb
awspec-1.15.3 lib/awspec/toolbox.rb
awspec-1.15.2 lib/awspec/toolbox.rb