Should --ignore-project exclude other project-specific options?
Open
type: user-question
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
Do we have any rules around precedence and validation of combinations of options (irrespective of command)?
I would expect that `--ignore-project` would have precedence over `--project-dir` and `--project-file` and that if I supplied `--ignore-project` with any other project-specific options then that would be an error.
Contributor guide
Research direction
Start by locating Cabal's command-line option parsing and validation for --ignore-project, --project-dir, and --project-file across commands. Review existing precedence and combination tests, then add coverage showing the intended behavior for conflicting project-specific options.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100