Add flag to convert non-web actions when adding apis
Open
enhancement
good first issue
help wanted
- Dominant language
- Go
- Stars
- 109
- Forks
- 98
- PR merge metrics
- No merged PRs in 30d
Description
If you try to add an API to an action that isn't a web action, you get the following error.
```
error: API action '/_/parent' is not a web action. Issue 'wsk action update /_/parent --web true' to convert the action to a web action.
Run 'wsk --help' for usage.
```
Can we have a flag to make the api command automatically add the annotation if it is missing?
Contributor guide
Assessment
This issue has not been assessed yet.