Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save justin2061/7e13007e7711b2bd8fc3d3cf14aa670a to your computer and use it in GitHub Desktop.
Save justin2061/7e13007e7711b2bd8fc3d3cf14aa670a to your computer and use it in GitHub Desktop.
## ref: https://stackoverflow.com/questions/62764148/how-to-import-requirements-txt-from-an-existing-project-using-poetry
$reqs = @(cat requirements.txt)
for($i = 0; $i -lt $reqs.length; $i++){poetry add $reqs[$i]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment