diff --git a/abra b/abra index ea1567e..7f02436 100755 --- a/abra +++ b/abra @@ -62,6 +62,7 @@ sub_help() { echo " run SERVICE CMD run a command in the specified service's container" echo " run_args SERVICE ARGS CMD run, passing extra args to docker exec" echo " secret_generate SECRET VERSION [CMD] generate a secret, store it in pass & as a Docker secret" + echo " upgrade upgrade to the latest version" echo " ... (custom commands)" echo "" echo "Make sure \$STACK_NAME is set using direnv or -a" @@ -237,6 +238,10 @@ sub_context_use() { docker context use "$1" } +sub_upgrade() { + curl -fsSL https://install.abra.autonomic.zone | bash +} + sub_context() { SUBCOMMAND2=$1 shift