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

Send script info to stderr #56

Open
homburg opened this issue May 10, 2022 · 0 comments
Open

Send script info to stderr #56

homburg opened this issue May 10, 2022 · 0 comments

Comments

@homburg
Copy link

homburg commented May 10, 2022

Currently dum outputs which commands it's going to execute, eg on

dum some-package-script

I'd like to be able to pipe the script output to something else easily without including the dum messages, eg.

dum some-script-producing-json | jq .

I'd suggest to either

  1. Print dum own messages to stderr by default
  2. Detect a tty/pipe situation and avoid printing messages (or use stderr in that case)

I'd be happy to make a pull request if you're interested

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

No branches or pull requests

1 participant