commercialhaskell / commercialhaskell/stack
Ensure that we don't accidentally override flags in commands
Open
component: options parsing
- Dominant language
- Haskell
- Stars
- 4.1k
- Forks
- 850
- Avg merge
- 10h 37m
- Merged PRs (30d)
- 4
Description
In both https://github.com/commercialhaskell/stack/issues/1531 and https://github.com/commercialhaskell/stack/issues/2123 , we would have benefited from a runtime error that a subcommand is overriding the parse of a particular flag. We'll also need a way to whitelist exceptions to this. Not sure how hard this is to do atop optparse-applicative
Contributor guide
Assessment
This issue has not been assessed yet.