gamechanger/freezeray

Write to stdout instead of a file

Opened this issue · 3 comments

If this tool were to write to stdout, it would allow reviewing and / or manipulating the output before writing to the file. For example, one could do:

freezeray requirements.txt

to view the frozen dependencies. Other possibilities are:

freezeray requirements.txt > output.txt

and

freezeray requirements.txt | grep prefix > only_those_with_prefix.txt

Sure, seems reasonable. We'll also need to move the dumb print statement logging to stderr.

Hey @svisser, to sate my own curiosity, how did you find this repo so quickly? You showed up remarkably soon after it was created. 😄

I saw it in the latest package uploads on PyPI.