Sha256: 13ad4908b367715d4f67941a37ac07bc3bdcff1109b8848119db45bfa33e97d6

Contents?: true

Size: 603 Bytes

Versions: 2

Compression:

Stored size: 603 Bytes

Contents

# frozen_string_literal: true

require 'acs2aws/version'
require 'acs2aws/cli/config'
require 'acs2aws/cli/refresh'
require 'clamp'
require 'colorize'

module Acs2aws
  CONFIG_PATH = ENV['HOME']+'/.acs2awc.conf'
  SERVER_PORT = 10389
  class MainCommand < Clamp::Command
    option %w(-v --version), :flag, 'print version information' do
      puts "acs2aws: #{Acs2aws::VERSION.colorize(:light_blue)}\n\n"
      exit(0)
    end

    subcommand 'config', 'configure an IDP settings', Cli::ConfigCommand
    subcommand 'refresh', 'retrieve AWS STS token', Cli::RefreshCommand
  end

  MainCommand.run
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
acs2aws-0.1.1 lib/acs2aws.rb
acs2aws-0.1.0 lib/acs2aws.rb