diff --git a/cli/exec.go b/cli/exec.go index d2b6b2df7..fadeb7758 100644 --- a/cli/exec.go +++ b/cli/exec.go @@ -56,6 +56,9 @@ func ConfigureExecCommand(app *kingpin.Application) { Short('n'). BoolVar(&input.NoSession) + cmd.Flag("region", "The AWS region"). + StringVar(&input.Config.Region) + cmd.Flag("mfa-token", "The MFA token to use"). Short('t'). StringVar(&input.Config.MfaToken) diff --git a/cli/login.go b/cli/login.go index 203403685..17f0e5e9a 100644 --- a/cli/login.go +++ b/cli/login.go @@ -46,6 +46,9 @@ func ConfigureLoginCommand(app *kingpin.Application) { cmd.Flag("path", "The AWS service you would like access"). StringVar(&input.Path) + cmd.Flag("region", "The AWS region"). + StringVar(&input.Config.Region) + cmd.Flag("stdout", "Print login URL to stdout instead of opening in default browser"). Short('s'). BoolVar(&input.UseStdout)