File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -61,13 +61,13 @@ func NewCmdRun(f *cmdutil.Factory, runF func(*RunOptions) error) *cobra.Command
6161 - As JSON, via STDIN
6262 ` ),
6363 Example : heredoc .Doc (`
64- # Have gh prompt you for what workflow you'd like to run
64+ # Have gh prompt you for what workflow you'd like to run and interactively collect inputs
6565 $ gh workflow run
6666
67- # Run the workflow file 'triage.yml' at the remote's default branch, interactively providing inputs
67+ # Run the workflow file 'triage.yml' at the remote's default branch
6868 $ gh workflow run triage.yml
6969
70- # Run the workflow file 'triage.yml' at a specified ref, interactively providing inputs
70+ # Run the workflow file 'triage.yml' at a specified ref
7171 $ gh workflow run triage.yml --ref my-branch
7272
7373 # Run the workflow file 'triage.yml' with command line inputs
@@ -76,7 +76,6 @@ func NewCmdRun(f *cmdutil.Factory, runF func(*RunOptions) error) *cobra.Command
7676 # Run the workflow file 'triage.yml' with JSON via standard input
7777 $ echo '{"name":"scully", "greeting":"hello"}' | gh workflow run triage.yml --json
7878 ` ),
79- // TODO if selector is supplied we don't go interactive. is that what we actually want? correct docs if it is
8079 Args : func (cmd * cobra.Command , args []string ) error {
8180 if len (opts .MagicFields )+ len (opts .RawFields ) > 0 && len (args ) == 0 {
8281 return cmdutil.FlagError {Err : fmt .Errorf ("workflow argument required when passing -f or -F" )}
You can’t perform that action at this time.
0 commit comments