Sha256: 05d68eede2227695062611e81bbed1889083ab07f19043536a9d502fd164c903

Contents?: true

Size: 786 Bytes

Versions: 43

Compression:

Stored size: 786 Bytes

Contents

# frozen_string_literal: true

require_relative "../actions/console"

module AwsAssumeRole::Cli
    desc t "commands.console.desc"
    command :console do |c|
        c.flag [:p, "profile"], desc: t("options.profile_name")
        c.flag ["role-session-name"], desc: t("options.role_session_name")
        c.flag ["role-arn"], desc: t("options.role_arn")
        c.flag ["mfa-serial"], desc: t("options.mfa_serial")
        c.flag ["region"], desc: t("options.region")
        c.flag ["external-id"], desc: t("options.external_id")
        c.flag ["duration-seconds"], desc: t("options.duration_seconds"), default_value: 3600
        c.action do |global_options, options, args|
            AwsAssumeRole::Cli::Actions::Console.new(global_options, options, args)
        end
    end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
aws_assume_role-1.2.3-universal-freebsd lib/aws_assume_role/cli/commands/console.rb
aws_assume_role-1.2.3-universal-darwin lib/aws_assume_role/cli/commands/console.rb
aws_assume_role-1.2.3-universal-linux lib/aws_assume_role/cli/commands/console.rb
aws_assume_role-1.2.3-universal-openbsd lib/aws_assume_role/cli/commands/console.rb
aws_assume_role-1.2.3 lib/aws_assume_role/cli/commands/console.rb
aws_assume_role-1.2.3-linux lib/aws_assume_role/cli/commands/console.rb
aws_assume_role-1.2.2-universal-darwin lib/aws_assume_role/cli/commands/console.rb
aws_assume_role-1.2.2-universal-linux lib/aws_assume_role/cli/commands/console.rb
aws_assume_role-1.2.2-linux lib/aws_assume_role/cli/commands/console.rb
aws_assume_role-1.2.2-universal-openbsd lib/aws_assume_role/cli/commands/console.rb
aws_assume_role-1.2.2-universal-freebsd lib/aws_assume_role/cli/commands/console.rb
aws_assume_role-1.2.2 lib/aws_assume_role/cli/commands/console.rb
aws_assume_role-1.2.1 lib/aws_assume_role/cli/commands/console.rb
aws_assume_role-1.2.1-linux lib/aws_assume_role/cli/commands/console.rb
aws_assume_role-1.2.1-universal-openbsd lib/aws_assume_role/cli/commands/console.rb
aws_assume_role-1.2.1-universal-darwin lib/aws_assume_role/cli/commands/console.rb
aws_assume_role-1.2.1-universal-freebsd lib/aws_assume_role/cli/commands/console.rb
aws_assume_role-1.2.1-universal-linux lib/aws_assume_role/cli/commands/console.rb
aws_assume_role-1.2.0 lib/aws_assume_role/cli/commands/console.rb
aws_assume_role-1.2.0-linux lib/aws_assume_role/cli/commands/console.rb