Sha256: a98cc985a9b2fa3bbe3497fe4b6eb0ec2596767d0e012524198496a4b7d45b88

Contents?: true

Size: 337 Bytes

Versions: 15

Compression:

Stored size: 337 Bytes

Contents

require 'thor'
require 'awspec/setup'
require 'awspec/command/generate'

module Awspec
  class CLI < Thor
    desc 'init', 'Generate init files'
    def init
      Awspec::Setup.run
    end

    desc 'generate [resource] [vpc_id]', 'Generate *_spec.rb from VPC ID'
    subcommand 'generate', Generate
    map 'g' => 'generate'
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
awspec-0.9.0 lib/awspec/cli.rb
awspec-0.8.1 lib/awspec/cli.rb
awspec-0.8.0 lib/awspec/cli.rb
awspec-0.7.0 lib/awspec/cli.rb
awspec-0.6.4 lib/awspec/cli.rb
awspec-0.6.3 lib/awspec/cli.rb
awspec-0.6.2 lib/awspec/cli.rb
awspec-0.6.1 lib/awspec/cli.rb
awspec-0.6.0 lib/awspec/cli.rb
awspec-0.5.0 lib/awspec/cli.rb
awspec-0.4.1 lib/awspec/cli.rb
awspec-0.4.0 lib/awspec/cli.rb
awspec-0.3.0 lib/awspec/cli.rb
awspec-0.2.3 lib/awspec/cli.rb
awspec-0.2.2 lib/awspec/cli.rb