From cd8ec471637cf39d346754b73900c0ebb5449472 Mon Sep 17 00:00:00 2001 From: vilmibm Date: Tue, 13 Apr 2021 22:08:06 -0500 Subject: [PATCH] unhide actions commands --- pkg/cmd/actions/actions.go | 7 +++---- pkg/cmd/run/run.go | 7 +++---- pkg/cmd/workflow/workflow.go | 7 +++---- 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/pkg/cmd/actions/actions.go b/pkg/cmd/actions/actions.go index 0891c7820..33ba4b1a7 100644 --- a/pkg/cmd/actions/actions.go +++ b/pkg/cmd/actions/actions.go @@ -19,10 +19,9 @@ func NewCmdActions(f *cmdutil.Factory) *cobra.Command { } cmd := &cobra.Command{ - Use: "actions", - Short: "Learn about working with GitHub actions", - Long: actionsExplainer(nil), - Hidden: true, + Use: "actions", + Short: "Learn about working with GitHub actions", + Long: actionsExplainer(nil), Run: func(cmd *cobra.Command, args []string) { actionsRun(opts) }, diff --git a/pkg/cmd/run/run.go b/pkg/cmd/run/run.go index 7bb45b4ce..d61e350d3 100644 --- a/pkg/cmd/run/run.go +++ b/pkg/cmd/run/run.go @@ -12,10 +12,9 @@ import ( func NewCmdRun(f *cmdutil.Factory) *cobra.Command { cmd := &cobra.Command{ - Use: "run ", - Short: "View details about workflow runs", - Long: "List, view, and watch recent workflow runs from GitHub Actions.", - Hidden: true, + Use: "run ", + Short: "View details about workflow runs", + Long: "List, view, and watch recent workflow runs from GitHub Actions.", Annotations: map[string]string{ "IsActions": "true", }, diff --git a/pkg/cmd/workflow/workflow.go b/pkg/cmd/workflow/workflow.go index f6f59f313..4af1fdc99 100644 --- a/pkg/cmd/workflow/workflow.go +++ b/pkg/cmd/workflow/workflow.go @@ -12,10 +12,9 @@ import ( func NewCmdWorkflow(f *cmdutil.Factory) *cobra.Command { cmd := &cobra.Command{ - Use: "workflow ", - Short: "View details about GitHub Actions workflows", - Long: "List, view, and run workflows in GitHub Actions.", - Hidden: true, + Use: "workflow ", + Short: "View details about GitHub Actions workflows", + Long: "List, view, and run workflows in GitHub Actions.", Annotations: map[string]string{ "IsActions": "true", },