18 lines
319 B
Bash
Executable File
18 lines
319 B
Bash
Executable File
#!/bin/sh
|
|
|
|
source ./api.sh
|
|
source ./commands/commands.sh
|
|
source ./pretty.sh
|
|
source ./creds.sh
|
|
source ./utils.sh
|
|
|
|
while getopts "a:i:hv" o;do case "${o}" in
|
|
a) INSTANCE=${insts[$OPTARG]}; TOKE=${tokes[$OPTARG]};;
|
|
i) INSTANCE=$OPTARG;;
|
|
h) echo $actions; exit;;
|
|
v) echo 0.1.1; exit;;
|
|
esac done
|
|
shift $((OPTIND-1))
|
|
|
|
$*
|