2023-01-17 01:07:40 +11:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
source ./api.sh
|
2023-01-17 01:46:39 +11:00
|
|
|
source ./commands/commands.sh
|
2023-01-17 01:07:40 +11:00
|
|
|
source ./pretty.sh
|
|
|
|
source ./creds.sh
|
2023-01-17 01:46:39 +11:00
|
|
|
source ./utils.sh
|
2023-01-17 01:07:40 +11:00
|
|
|
|
|
|
|
while getopts "a:hv" o;do case "${o}" in
|
|
|
|
a) INSTANCE=${insts[$OPTARG]}; TOKE=${tokes[$OPTARG]};;
|
|
|
|
h) echo $actions; exit;;
|
|
|
|
v) echo 0.1.0; exit;;
|
|
|
|
esac done
|
|
|
|
shift $((OPTIND-1))
|
|
|
|
|
|
|
|
$*
|