parser: setup clap

This commit is contained in:
k
2024-07-15 18:52:29 +02:00
parent 91f2427b44
commit ad51edbe07
22 changed files with 363 additions and 211 deletions
+2 -3
View File
@@ -18,9 +18,8 @@ if [ "$(uname)" == "Darwin" ]; then
sudo mdutil -a -i off &> /dev/null
fi
echo "Cleaning local TimeMachine snapshots..."
# If not enough: tmutil thinlocalsnapshots / 500000000000 4
echo "Thinning local TimeMachine snapshots..."
tmutil thinlocalsnapshots / &> /dev/null
fi
eval $(echo "cargo run -r -- $(cat node.args)")
cargo run -r -- "$@"