2023-01-17 01:07:40 +11:00
|
|
|
#!/bin/sh
|
|
|
|
|
2023-04-25 03:08:54 +10:00
|
|
|
imps=$(dirname $(realpath $0))
|
|
|
|
|
|
|
|
source $imps/api.sh
|
|
|
|
source $imps/commands/commands.sh
|
|
|
|
source $imps/pretty.sh
|
|
|
|
source $imps/creds.sh
|
|
|
|
source $imps/utils.sh
|
2023-01-17 01:07:40 +11:00
|
|
|
|
2023-06-02 10:58:31 +10:00
|
|
|
while getopts "a:hi:v" o;do case "${o}" in
|
2023-06-19 00:47:48 +10:00
|
|
|
a) select_account $OPTARG;;
|
2023-01-17 03:30:28 +11:00
|
|
|
i) INSTANCE=$OPTARG;;
|
2023-01-17 01:07:40 +11:00
|
|
|
h) echo $actions; exit;;
|
2023-06-19 00:47:48 +10:00
|
|
|
v) echo 0.1.3; exit;;
|
2023-01-17 01:07:40 +11:00
|
|
|
esac done
|
|
|
|
shift $((OPTIND-1))
|
|
|
|
|
|
|
|
$*
|