Skip to content

Commit

Permalink
Add to command registry
Browse files Browse the repository at this point in the history
  • Loading branch information
strideynet committed Jan 14, 2025
1 parent 60012c8 commit 65cd987
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tool/tbot/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@ func Run(args []string, stdout io.Writer) error {

cli.NewWorkloadIdentityX509Command(startCmd, buildConfigAndStart(ctx, globalCfg), cli.CommandModeStart),
cli.NewWorkloadIdentityX509Command(configureCmd, buildConfigAndConfigure(ctx, globalCfg, &configureOutPath, stdout), cli.CommandModeConfigure),

cli.NewWorkloadIdentityAPICommand(startCmd, buildConfigAndStart(ctx, globalCfg), cli.CommandModeStart),
cli.NewWorkloadIdentityAPICommand(configureCmd, buildConfigAndConfigure(ctx, globalCfg, &configureOutPath, stdout), cli.CommandModeConfigure),
)

// Initialize legacy-style commands. These are simple enough to not really
Expand Down

0 comments on commit 65cd987

Please sign in to comment.