From 51e19bd5c1bf632c44216152eaf348f8a2d35f6f Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sun, 9 Mar 2025 01:56:57 +0000 Subject: [PATCH] feat(siren): rename setup.sh script to siren --- setup.sh => siren | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) rename setup.sh => siren (97%) diff --git a/setup.sh b/siren similarity index 97% rename from setup.sh rename to siren index 70a98cd..73fe206 100755 --- a/setup.sh +++ b/siren @@ -38,13 +38,13 @@ Editors: Commands: config, conf Create symlinks for editor config files - dump-extensions, dump Export installed editor extensions to extensions.txt - extensions, ext Install editor extensions from extensions.txt + dump-extensions, dump Export installed editor extensions to a lock file. + extensions, ext Install editor extensions from a lock file. Options: - --latest When used with extensions command, installs the + --latest When used with the extensions command, installs the latest version of each extension instead of the - exact version from the lock file + exact version from the lock file. Description: This script manages editor configuration files and extensions. @@ -428,6 +428,11 @@ main() { exit 1 fi + if [[ "$1" == "help" || "$1" == "--help" || "$1" == "-h" ]]; then + show_help + exit 0 + fi + if [[ $# -lt 2 ]]; then echo "Error: No command specified" show_help