Skip to content

Commit

Permalink
Poetry binstub
Browse files Browse the repository at this point in the history
  • Loading branch information
stevelacey committed Feb 6, 2023
1 parent 9af951f commit c27cc5b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions bin/poetry
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

set -eou pipefail

if [ -t 0 ] && [ -t 1 ]; then
docker exec -it worf poetry "$@"
else
docker exec worf poetry "$@"
fi

0 comments on commit c27cc5b

Please sign in to comment.