From 4bab8053fbb8d9ad2a9069a9abb1602fc6c9c484 Mon Sep 17 00:00:00 2001 From: Janik von Rotz Date: Sun, 16 Nov 2025 09:55:06 +0100 Subject: [PATCH] vault backup: 2025-11-16 09:55:06 --- README.md | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 23944fe..868227c 100644 --- a/README.md +++ b/README.md @@ -60,12 +60,13 @@ help-table() { local opt_width=6 local desc_width=40 local column="| %-${cmd_width}s | %-${opt_width}s | %-${desc_width}s |\n" - printf "$column" "Command" "Option" "Description" + + printf "$column" 'Command' 'Option' 'Description' echo "|$(printf '%*s' $((cmd_width + 2)) '' | tr ' ' '-')|$(printf '%*s' $((opt_width + 2)) '' | tr ' ' '-')|$(printf '%*s' $((desc_width + 2)) '' | tr ' ' '-')|" - printf "$column" "help" "[grep]" "Show help for commands." - printf "$column" "install" "" "Setup the local environment." - printf "$column" "lint" "" "Run pre-commit and update index.html." - printf "$column" "version" "" "Show version of required tools." + printf "$column" 'help' '[grep]' 'Show help for commands.' + printf "$column" 'install' '' 'Setup the local environment.' + printf "$column" 'lint' '' 'Run pre-commit and update index.html.' + printf "$column" 'version' '' 'Show version of required tools.' } help() { @@ -73,9 +74,9 @@ help() { if [[ -n "$1" ]]; then help-table | grep -i "$1" | column -t -s'|' else - echo "task [options]" + echo 'task [options]' echo - echo "commands:" + echo 'commands:' echo help-table fi @@ -91,7 +92,7 @@ version() { } install() { - echo "Setup venv and install python dependencies" + echo 'Setup venv and install python dependencies' uv venv env source env/bin/activate uv pip install pre-commit @@ -100,7 +101,7 @@ install() { lint() { source env/bin/activate - echo "Run pre-commit" + echo 'Run pre-commit' pre-commit run --all-file } ```