placeholder consistency

This commit is contained in:
vilmibm 2021-04-14 11:17:12 -05:00
parent e10a3f164f
commit bca828be2c
4 changed files with 4 additions and 4 deletions

View file

@ -29,7 +29,7 @@ func NewCmdDisable(f *cmdutil.Factory, runF func(*DisableOptions) error) *cobra.
}
cmd := &cobra.Command{
Use: "disable [<workflow ID> | <workflow name>]",
Use: "disable [<workflow-id> | <workflow-name>]",
Short: "Disable a workflow",
Long: "Disable a workflow, preventing it from running or showing up when listing workflows.",
Args: cobra.MaximumNArgs(1),

View file

@ -29,7 +29,7 @@ func NewCmdEnable(f *cmdutil.Factory, runF func(*EnableOptions) error) *cobra.Co
}
cmd := &cobra.Command{
Use: "enable [<workflow ID> | <workflow name>]",
Use: "enable [<workflow-id> | <workflow-name>]",
Short: "Enable a workflow",
Long: "Enable a workflow, allowing it to be run and show up when listing workflows.",
Args: cobra.MaximumNArgs(1),

View file

@ -46,7 +46,7 @@ func NewCmdRun(f *cmdutil.Factory, runF func(*RunOptions) error) *cobra.Command
}
cmd := &cobra.Command{
Use: "run [<workflow-ID> | <workflow-name>]",
Use: "run [<workflow-id> | <workflow-name>]",
Short: "Run a workflow by creating a workflow_dispatch event",
Long: heredoc.Doc(`
Create a workflow_dispatch event for a given workflow.

View file

@ -40,7 +40,7 @@ func NewCmdView(f *cmdutil.Factory, runF func(*ViewOptions) error) *cobra.Comman
}
cmd := &cobra.Command{
Use: "view [<workflow-id> | <workflow name> | <file name>]",
Use: "view [<workflow-id> | <workflow-name> | <filename>]",
Short: "View the summary of a workflow",
Args: cobra.MaximumNArgs(1),
Example: heredoc.Doc(`