Sha256: c3ff245da987e2c2097256134d2f1af809478b2e4437a49b553e708382542352
Contents?: true
Size: 865 Bytes
Versions: 43
Compression:
Stored size: 865 Bytes
Contents
# frozen_string_literal: true require_relative "../actions/test" module AwsAssumeRole::Cli desc t "commands.test.desc" command :test 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.switch ["no-profile"], desc: t("options.duration_seconds"), default_value: false c.action do |global_options, options, args| AwsAssumeRole::Cli::Actions::Test.new(global_options, options, args) end end end
Version data entries
43 entries across 43 versions & 1 rubygems