File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ func (p *Console) OpenBrowser(ctx context.Context) error {
6767 con := gconsole.AWS {
6868 Profile : p .Profile ,
6969 Region : region ,
70+ Service : p .Service ,
7071 }
7172 session , err := con .URL (* credentials )
7273 if err != nil {
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ type Login struct {
1717type Console struct {
1818 Profile string `short:"p" long:"profile" env:"AWS_PROFILE" default:"default" description:"What profile to use"`
1919 Region string `short:"r" long:"region" env:"AWS_REGION" default:"us-east-1" description:"What region to use"`
20+ Service string `short:"s" long:"service" description:"Open console at specific service"`
2021 Url bool `short:"u" long:"url" description:"Only print login url"`
2122 Verbose bool `short:"v" long:"verbose" description:"Enable verbose messages"`
2223}
You can’t perform that action at this time.
0 commit comments