unearth icon indicating copy to clipboard operation
unearth copied to clipboard

Fetch packages from requirements.txt

Open Aposhian opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. I would like to use the output of pip freeze directly with the unearth cli.

Describe the solution you'd like Add a -r, --requirements flag that takes a requirements file, and then operates on all the package descriptors in the file.

Describe alternatives you've considered Writing a script to invoke unearth many times.

Additional context pip download "supports" this (despite all its flaws).

Aposhian avatar Apr 24 '23 23:04 Aposhian

It sounds good to me. Just that unearth won't do any dependency resolution, unlike pip. So child dependencies won't be fetched(like pip download --no-deps).

However, I will not get to this shortly. Feel free to take this and open a PR.

frostming avatar Apr 25 '23 00:04 frostming