should error when --dry-run option applied to non-local command
Open
- Dominant language
- Python
- Stars
- 14
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
If I invoke a *vanilla* command **leaf** (subcommand), off of a *local* command **base** (which supports `--dry-run`), then `argcmdr` should raise an error alerting me to the option's incompatibility, rather than executing the command.
Contributor guide
No contributing guide indexed for this repository
Research direction
No file or test is named in the issue. Start by reproducing a vanilla leaf command invoked through a local base with --dry-run, then trace argcmdr's command parsing and dispatch; done means the incompatible option raises an error instead of executing the leaf command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100