Open bestander opened 7 years ago
Just regarding the CLI and not interaction with .yarnrc
: Commander does not automatically support negated version of positive flags, but you can declare negated flags where it is appropriate (i.e. declare --no-check-files
). The support for having both positive and negated flag was much improved in Commander v3.
Update, Yarn 2 is using Clipanion: https://github.com/yarnpkg/yarn/issues/4225#issuecomment-669161536
Do you want to request a feature or report a bug? feature
What is the current behavior? Add
--check-files true
to .yarnrc. Then runyarn install --check-files false
and see outputcommander.js does not allow negating flags automatically.
Please mention your node.js, yarn and operating system version. 0.23.2