16 lines
		
	
	
		
			267 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			267 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/sh
 | 
						|
 | 
						|
source ./api.sh
 | 
						|
source ./commands.sh
 | 
						|
source ./pretty.sh
 | 
						|
source ./creds.sh
 | 
						|
 | 
						|
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))
 | 
						|
 | 
						|
$*
 |