Skip to content

Commit 0484425

Browse files
committed
annotation fixes
1 parent cd8ec47 commit 0484425

File tree

4 files changed

+9
-15
lines changed

4 files changed

+9
-15
lines changed

pkg/cmd/run/list/list.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,9 @@ func NewCmdList(f *cmdutil.Factory, runF func(*ListOptions) error) *cobra.Comman
3636
}
3737

3838
cmd := &cobra.Command{
39-
Use: "list",
40-
Short: "List recent workflow runs",
41-
Args: cobra.NoArgs,
42-
Hidden: true,
39+
Use: "list",
40+
Short: "List recent workflow runs",
41+
Args: cobra.NoArgs,
4342
RunE: func(cmd *cobra.Command, args []string) error {
4443
// support `-R, --repo` override
4544
opts.BaseRepo = f.BaseRepo

pkg/cmd/run/view/view.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,9 @@ func NewCmdView(f *cmdutil.Factory, runF func(*ViewOptions) error) *cobra.Comman
8787
}
8888

8989
cmd := &cobra.Command{
90-
Use: "view [<run-id>]",
91-
Short: "View a summary of a workflow run",
92-
Args: cobra.MaximumNArgs(1),
93-
Hidden: true,
90+
Use: "view [<run-id>]",
91+
Short: "View a summary of a workflow run",
92+
Args: cobra.MaximumNArgs(1),
9493
Example: heredoc.Doc(`
9594
# Interactively select a run to view, optionally drilling down to a job
9695
$ gh run view

pkg/cmd/run/watch/watch.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ func NewCmdWatch(f *cmdutil.Factory, runF func(*WatchOptions) error) *cobra.Comm
4242
cmd := &cobra.Command{
4343
Use: "watch <run-selector>",
4444
Short: "Watch a run until it completes, showing its progress",
45-
Annotations: map[string]string{
46-
"IsActions": "true",
47-
},
4845
RunE: func(cmd *cobra.Command, args []string) error {
4946
// support `-R, --repo` override
5047
opts.BaseRepo = f.BaseRepo

pkg/cmd/workflow/view/view.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,9 @@ func NewCmdView(f *cmdutil.Factory, runF func(*ViewOptions) error) *cobra.Comman
4040
}
4141

4242
cmd := &cobra.Command{
43-
Use: "view [<workflow-id> | <workflow name> | <file name>]",
44-
Short: "View the summary of a workflow",
45-
Args: cobra.MaximumNArgs(1),
46-
Hidden: true,
43+
Use: "view [<workflow-id> | <workflow name> | <file name>]",
44+
Short: "View the summary of a workflow",
45+
Args: cobra.MaximumNArgs(1),
4746
Example: heredoc.Doc(`
4847
# Interactively select a workflow to view
4948
$ gh workflow view

0 commit comments

Comments
 (0)