20 lines
371 B
Bash
Executable File
20 lines
371 B
Bash
Executable File
#!/bin/sh
|
|
|
|
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
|
|
|
|
while getopts "a:hi:v" o;do case "${o}" in
|
|
a) INSTANCE=${insts[$OPTARG]}; TOKE=${tokes[$OPTARG]};;
|
|
i) INSTANCE=$OPTARG;;
|
|
h) echo $actions; exit;;
|
|
v) echo 0.1.2; exit;;
|
|
esac done
|
|
shift $((OPTIND-1))
|
|
|
|
$*
|