Skip to content

Commit

Permalink
tidy unused packages and variables (#773)
Browse files Browse the repository at this point in the history
removes some stale build variables and unused variables
  • Loading branch information
chrnorm authored Oct 10, 2024
1 parent de67b66 commit 3d9bf71
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 19 deletions.
6 changes: 0 additions & 6 deletions internal/build/urls.go

This file was deleted.

1 change: 0 additions & 1 deletion pkg/assume/entrypoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ func GlobalFlags() []cli.Flag {
&cli.StringSliceFlag{Name: "pass-through", Aliases: []string{"pt"}, Usage: "Pass args to proxy assumer"},
&cli.BoolFlag{Name: "active-role", Aliases: []string{"ar"}, Usage: "Open console using active role"},
&cli.BoolFlag{Name: "verbose", Usage: "Log debug messages"},
&cli.StringFlag{Name: "update-checker-api-url", Value: build.UpdateCheckerApiUrl, EnvVars: []string{"UPDATE_CHECKER_API_URL"}, Hidden: true},
&cli.StringFlag{Name: "active-aws-profile", EnvVars: []string{"AWS_PROFILE"}, Hidden: true},
&cli.BoolFlag{Name: "auto-configure-shell", Usage: "Configure shell alias without prompts"},
&cli.StringFlag{Name: "exec", Usage: "Assume a profile then execute this command"},
Expand Down
11 changes: 0 additions & 11 deletions pkg/banners/banners.go

This file was deleted.

1 change: 0 additions & 1 deletion pkg/granted/entrypoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ func GetCliApp() *cli.App {

flags := []cli.Flag{
&cli.BoolFlag{Name: "verbose", Usage: "Log debug messages"},
&cli.StringFlag{Name: "update-checker-api-url", Value: build.UpdateCheckerApiUrl, EnvVars: []string{"UPDATE_CHECKER_API_URL"}, Hidden: true},
&cli.StringFlag{Name: "aws-config-file"},
}

Expand Down

0 comments on commit 3d9bf71

Please sign in to comment.