Bootstrap project and safe work-item workflow
This commit is contained in:
11
scripts/work-item
Executable file
11
scripts/work-item
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
for python in python3.13 python3.12 python3.11; do
|
||||
if command -v "$python" >/dev/null 2>&1; then
|
||||
exec "$python" -m work_item "$@"
|
||||
fi
|
||||
done
|
||||
|
||||
echo "work-item: Python 3.11 or newer is required" >&2
|
||||
exit 2
|
||||
Reference in New Issue
Block a user