adobe / adobe/aio-cli-plugin-app
build and deploy commands: --skip-static and --skip-actions flags should be mutually exclusive
- Dominant language
- JavaScript
- Stars
- 28
- Forks
- 41
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 3
Description
It is possible for a user to specify both --skip-static and --skip-actions flags for the `build` and `deploy` commands.
It doesn't make sense to skip both (the CLI will report 'there is nothing to do').
Change the flags to be mutually exclusive. However, this will be a breaking change (since now specifying both flags will result in an error, when it was ok before).
Contributor guide
Research direction
Start at the command entry points for the `build` and `deploy` CLI commands and inspect how `--skip-static` and `--skip-actions` are defined and validated. Verify the behavior for each flag alone and for both together; done means the combined flags produce an error instead of reporting that there is nothing to do.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100