Sha256: 4fb9aae2eb31ddb7867a8fa6118af523ecb9b82f2c00d14fb537d5a665cacf4a

Contents?: true

Size: 1.02 KB

Versions: 4

Compression:

Stored size: 1.02 KB

Contents

require 'thor'
require 'awesome_print'
require 'dldinternet/aws/ec2/instance_types/scraper'
require 'colorize'
require 'json'
require 'yaml'

module DLDInternet
  module AWS
    module EC2
      module Instance_Types
        # noinspection RubyParenthesesAfterMethodCallInspection
        class Get < ::Thor
          no_commands do

            require 'dldinternet/aws/ec2/instance_types/mixins/no_commands'
            include DLDInternet::AWS::EC2::Instance_Types::MixIns::NoCommands

          end

          desc 'load ARGS', 'load instance types'
          def load(path)
            parse_options
            puts 'load instance types' if options[:verbose]

            it = loadEC2_Instance_Types(path)
            ap it
          end

          desc 'save', 'save instance types'
          def save(path)
            parse_options
            puts 'save instance types' if options[:verbose]

            it = getEC2_Instance_Types()
            saveEC2_Instance_Types(path, it)
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
aws-ec2-instance_types-1.4.1 lib/dldinternet/aws/ec2/instance_types/get.rb
aws-ec2-instance_types-1.4.0 lib/dldinternet/aws/ec2/instance_types/get.rb
aws-ec2-instance_types-1.3.1 lib/dldinternet/aws/ec2/instance_types/get.rb
aws-ec2-instance_types-1.3.0 lib/dldinternet/aws/ec2/instance_types/get.rb