From 219aac45e518f0ba36f5c2c7d1f56c8459cc7cd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Fri, 26 Apr 2024 06:25:59 +0300 Subject: [PATCH] Source Update --- src/base.sh | 2 ++ wx | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/src/base.sh b/src/base.sh index cfbe60d..9ca7593 100644 --- a/src/base.sh +++ b/src/base.sh @@ -42,6 +42,8 @@ stop () { exit 1 } +{{ COMMANDS }} + COMMAND=$1 start diff --git a/wx b/wx index cfbe60d..684b1af 100755 --- a/wx +++ b/wx @@ -42,6 +42,49 @@ stop () { exit 1 } +warencli-help() { +echo " +Usage: $0 COMMAND [OPTIONS] + +Common Commands: + ssh SSH + config Config + sign Certificates + +Authentication Commands: + login Login + logout Logout + +Management Commands: + settings Settings +"; +} + +warencli-settings() { +echo ">>> Settings"; +} + +warencli-ssh() { +echo ">>> SSH"; +} + +warencli-login() { +echo ">>> Authentication: Login"; +} + +warencli-logout() { +echo ">>> Authentication: Logout"; +} + +warencli-ssh-config(){ +echo ">>> SSH: Config" +} + +warencli-ssh-sign(){ +echo ">>> SSH: Certificates" +} + + COMMAND=$1 start