Sha256: a893e4fbad1a290a7770a684983d1ef1541e4d2bf3363480e53cd1c77f2bd645

Contents?: true

Size: 604 Bytes

Versions: 1

Compression:

Stored size: 604 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 SAML settings', Cli::ConfigCommand
    subcommand 'refresh', 'retrieve AWS STS token', Cli::RefreshCommand
  end

  MainCommand.run
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
acs2aws-0.2.0 lib/acs2aws.rb