From 6031300cc6390ad686a4adc41b7d99c2339a3f95 Mon Sep 17 00:00:00 2001 From: "Lockszmith (@wolfpack)" Date: Sun, 8 Dec 2024 17:01:36 -0500 Subject: [PATCH] Added runtipictl update and fixed typo --- _bin/runtipictl | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/_bin/runtipictl b/_bin/runtipictl index 0596eb0..102d0ef 100755 --- a/_bin/runtipictl +++ b/_bin/runtipictl @@ -72,6 +72,9 @@ case "${1}" in start) runtipi-cli start --env-file user-config/.env.local --no-permissions ;; + update) + runtipi-cli update --env-file user-config/.env.local --no-permissions "${2:?Must supply version}" "${@:3}" + ;; full-start) if ! jlmkr exec runtipi true; then jlmkr start runtipi @@ -106,15 +109,21 @@ case "${1}" in "" "" "" \ "Available commands:" "" ""\ "" "" "" \ + "runtipi" "" ""\ "" "cli" "runtipi-cli" \ - "" "dcoapp" "docker compose for runtipi apps" \ - "" "dls" "stylized docker ls" \ - "" "docker" "docker" \ - "" "dockge" "dokcer compose for dockge stacks" \ - "" "exec" "execute within the shell, START_DIR env applies" \ "" "full-start" "start runtipi jail, following with starting runtipi" \ "" "log" "runtipi docker stack logs" \ "" "start" "start runtipi" \ + "" "update" "update runtipi to a specific version" \ + "" "" "" \ + "docker/docker-compose" "" ""\ + "" "dcoapp" "docker compose for runtipi apps" \ + "" "dls" "stylized docker ls" \ + "" "docker" "docker" \ + "" "dockge" "docker compose for dockge stacks" \ + "" "" "" \ + "misc." "" ""\ + "" "exec" "execute within the shell, START_DIR env applies" \ "" "" "" \ "" "setup" "setup runtipictl in user's .local/bin dir"