Add an `--interactive` flag for `gh workflow run`
- Dominant language
- Go
- Stars
- 46.3k
- Forks
- 9k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 89
Description
### Describe the feature or problem you’d like to solve
When calling `gh workflow run` with a workflow name/id (ex.: `gh workflow run triage.yml`), the CLI will not prompt for input. Because of that, we can't ask the user to enter some informations.
The doc (online or comment) is not clear about when GH CLI will ask the inputs. I just discovered it will if you don't pass the workflow name, it'll ask you the input, but if you do, it will not.
```
$ gh workflow run Deploy
could not create workflow dispatch event: HTTP 422: Required input 'environment' not provided (https://api.github.com/repos/[...]/dispatches)
```
### Proposed solution
I would like to add an `--interactive` (`-i`) flag to allow users being prompted.
Contributor guide
Assessment
This issue has not been assessed yet.