CLI export feature - Export all versions of requirements. ie. DEV & PROD
Feature Request
CLI export feature
Export all versions of requirements. ie. DEV & PROD
Example command:
--all argument
poetry export --without-hashes --all -f requirements.txt
Desired output:
requirements.txt
requirements.dev.txt
poetry export --without-hashes --only=main -o requirements.txt
poetry export --without-hashes --only=dev -o requirements.dev.txt
the implied suggestion of my previous comment was that this feature request is low value because the desired output is easily achieved already
ie IMO let's just close it
Hi,
I just add a comment as I've a project with some groups (5, yes, that's a lot!) and that's a pain to run 5 commands to generate 5 files separately. Even if I can redirect all outputs to the same file, I don't want to write all groups several times (one in gitlab-ci file, one in makefile, etc).
I also specify that I do not have a root dependency group and by default, nothing is exported. This would be great to have the --all option (or have this --all option as a default and select groups to add/exclude as options).
Thanks