Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
Fix: Add auto-complete for dashboard (#2288)
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Jellick <[email protected]>
  • Loading branch information
cjellick authored Nov 1, 2023
1 parent 97f0f51 commit 6f68f9e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pkg/cli/dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ import (

func NewDashboard(c CommandContext) *cobra.Command {
return cli.Command(&Dashboard{client: c.ClientFactory}, cobra.Command{
Use: "dashboard [flags] [ACORN]",
SilenceUsage: true,
Short: "Open the web dashboard for the project",
Args: cobra.MaximumNArgs(1),
Use: "dashboard [flags] [ACORN]",
SilenceUsage: true,
Short: "Open the web dashboard for the project",
Args: cobra.MaximumNArgs(1),
ValidArgsFunction: newCompletion(c.ClientFactory, appsCompletion).complete,
})
}

Expand Down

0 comments on commit 6f68f9e

Please sign in to comment.