Created
March 23, 2020 14:07
-
-
Save ricklon/ac9b2b5e9a91b10b7a05686d6333be45 to your computer and use it in GitHub Desktop.
Convert requirements.txt to poetry format
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat requirements.txt | perl -pe 's/([<=>]+)/:$1/g' | xargs -n 1 -I {} echo "poetry add '{}'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment