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

CLI: --silent or --quiet to disable any non warning or error output #23192

Open
janpio opened this issue Feb 19, 2024 · 2 comments
Open

CLI: --silent or --quiet to disable any non warning or error output #23192

janpio opened this issue Feb 19, 2024 · 2 comments
Labels
kind/feature A request for a new feature. team/client Issue for team Client. topic: cli topic: dx

Comments

@janpio
Copy link
Member

janpio commented Feb 19, 2024

Problem

Prisma CLI outputs things. Often that output is not needed in CI and other automated scenarios, and usage can rely on the exit codes of the CLI exclusively.

Suggested solution

Add global option --silent or --quiet option to CLI that hides all non warning or error output.

Additional context

Related issue:

@janpio janpio added kind/feature A request for a new feature. topic: cli team/client Issue for team Client. labels Feb 19, 2024
@janpio janpio changed the title CLI: --silent to silence any output CLI: --silent or --quiet to disable any output Feb 19, 2024
@janpio janpio changed the title CLI: --silent or --quiet to disable any output CLI: --silent or --quiet to disable any non warning or error output Feb 19, 2024
@tjx666
Copy link

tjx666 commented May 7, 2024

It's too annoyed of the message every time I yarn dev

@Jolg42
Copy link
Member

Jolg42 commented May 7, 2024

@tjx666 I can understand the frustration, though this is not yet prioritized on our side, for now.
If someone wants this sooner than later, I can recommend contributing with a Pull Request, we're happy to help review it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature A request for a new feature. team/client Issue for team Client. topic: cli topic: dx
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants