commercialhaskell / commercialhaskell/stack

Ensure that we don't accidentally override flags in commands

Open
#2,126 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.