corepack icon indicating copy to clipboard operation
corepack copied to clipboard

`corepack npm` and other package managers are not shown in help text

Open rotu opened this issue 2 years ago • 0 comments

Calling corepack or corepack --help shows help for e.g. corepack install, but does not suggest the shimless aliases, namely:

  • corepack npm, corepack npx
  • corepack pnpm, corepack pnpx
  • corepack yarn, corepack yarnpkg

These are also not suggested as typo corrections:

corepack np

Unknown Syntax Error: Command not found; did you mean one of:

  1. corepack -h
  2. corepack -v
  3. corepack disable [--install-directory #0] ...
  4. corepack enable [--install-directory #0] ...
  5. corepack install <-g,--global> [--all] [--cache-only] ...
  6. corepack install
  7. corepack pack [--all] [--json] [-o,--output #0] ...
  8. corepack up
  9. corepack use
  10. corepack hydrate [--activate] <fileName>
  11. corepack prepare [--activate] [--all] [--json] [-o,--output] ...

While running np

rotu avatar Sep 04 '23 06:09 rotu