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

--quiet should prevent task output from going to stderr #1647

Open
mcdonc opened this issue Dec 21, 2024 · 0 comments
Open

--quiet should prevent task output from going to stderr #1647

mcdonc opened this issue Dec 21, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@mcdonc
Copy link
Contributor

mcdonc commented Dec 21, 2024

If you use --quiet, it prevents this output from being sent to the console:

• Building shell ...
• Using Cachix: devenv
✔ Building shell in 0.2s.
• Entering shell

But task output is still shown:

Running tasks     devenv:enterShell
Succeeded         devenv:enterShell 11ms
1 Succeeded                         12.12ms

The reason it matters is that I'm trying to wrap devenv to implement a CLI and I'm passing subcommands in like "ls" e.g. devenv --quiet shell ls, which should just behave output-wise like normal ls.

I wish I could easily implement this, but I am Rust-ignorant at this point. :(

@mcdonc mcdonc added the enhancement New feature or request label Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant