Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: output options to descriptionLists of pnpm import #7864

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

momeemt
Copy link
Contributor

@momeemt momeemt commented Apr 8, 2024

close #7829

Prior to this PR, pnpm help import doesn't show the description of the reporter options, even though it accepts them.

❯ ./pnpm/bin/pnpm.cjs help import 
Version 9.0.0-beta.3
Usage: pnpm import

Generates pnpm-lock.yaml from an npm package-lock.json (or npm-shrinkwrap.json, yarn.lock) file.

Visit https://pnpm.io/9.x/cli/import for documentation about this command.

After this PR we can check the use of the reporter options.

❯ ./pnpm/bin/pnpm.cjs help import 
Version 9.0.0-beta.3
Usage: pnpm import

Generates pnpm-lock.yaml from an npm package-lock.json (or npm-shrinkwrap.json, yarn.lock) file.

Output:
      --reporter append-only       The output is always appended to the end. No cursor manipulations are performed
      --reporter default           The default reporter when the stdout is TTY
      --reporter ndjson            The most verbose reporter. Prints all logs in ndjson format
  -s, --silent, --reporter silent  No output is logged to the console, except fatal errors

Visit https://pnpm.io/9.x/cli/import for documentation about this command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Output option --reporter to help of pnpm import
1 participant