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

Write to stdout when --output-file is present #1892

Merged
merged 1 commit into from
Feb 23, 2024
Merged

Conversation

charliermarsh
Copy link
Member

@charliermarsh charliermarsh commented Feb 23, 2024

Summary

This matches pip-compile and is, I think, intuitive. If you want to suppress output, you can always pipe it away.

Closes #1895.

@charliermarsh charliermarsh added compatibility Compatibility with a specification or another tool cli Related to the command line interface labels Feb 23, 2024
@charliermarsh charliermarsh force-pushed the charlie/write branch 6 times, most recently from c86e6b9 to 8f7853a Compare February 23, 2024 03:06
@charliermarsh charliermarsh merged commit 3bd4cca into main Feb 23, 2024
7 checks passed
@charliermarsh charliermarsh deleted the charlie/write branch February 23, 2024 03:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Related to the command line interface compatibility Compatibility with a specification or another tool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pip-compile should print to stdout even with -o is provided
1 participant