Description
As the clig says:
Where possible, a CLI should follow patterns that already exist. That’s what makes CLIs intuitive and guessable; that’s what makes users efficient.
npm uses --dry-run.
yarn uses --dry-run.
pnpm uses --dry-run.
git uses --dry-run.
I think np should support --dry-run as well.
Also, because misusing np could potentially lead to catastrophic consequences, maybe np should reject unknown CLI flags rather than simply ignore them. I for one wish it had rejected --dry-run that I just mistakenly used instead of --preview 😬.
WDYT?
Description
As the clig says:
npm uses
--dry-run.yarn uses
--dry-run.pnpm uses
--dry-run.git uses
--dry-run.I think np should support
--dry-runas well.Also, because misusing np could potentially lead to catastrophic consequences, maybe np should reject unknown CLI flags rather than simply ignore them. I for one wish it had rejected
--dry-runthat I just mistakenly used instead of--preview😬.WDYT?