parser: print help when no args

Also create utility script for testing
This commit is contained in:
2 * r + 2 * t
2025-06-11 15:43:32 +10:00
parent 6543c9505b
commit a4f5138d41
3 changed files with 16 additions and 5 deletions
Executable
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env sh
# Utility script for rebuilding and running caelestia
cd $(dirname $0) || exit
sudo rm -r dist /usr/bin/caelestia /usr/lib/python3.*/site-packages/caelestia* 2> /dev/null
python -m build --wheel --no-isolation > /dev/null
sudo python -m installer --destdir=/ dist/*.whl > /dev/null
/usr/bin/caelestia "$@"