haskell / haskell/cabal

Command line interface uses yesNoOpt /boolOpt/trueArg inconsistently

Open
#3,750 0 comments 0 reactions 0 assignees View on GitHub
cabal-install: other old-milestone: ⊥ type: refactor
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

yesNoOpt gives you both a `--reorder-goals` and `--no-reorder-goals`. A trueArg just gives you `--ignore-expiry`. A boolOpt gives you `--enable-tests` and `--disable-tests`.)
1. There needs to be guidelines of when to use what when.
2. Is there ever a situation where trueArg is preferred over one of the better options?

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.