Skip to content

Commit

Permalink
remove bridge helper functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
thedannywahl committed Mar 9, 2023
1 parent 9586f4a commit 34e24fe
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions insthelp/insthelp
Original file line number Diff line number Diff line change
Expand Up @@ -165,16 +165,13 @@ sethttp() {
################################################################################
readconfig() {
local cmd=$1
local bridgeconfig=("bridge_domain" "bridge_token")
local canvasconfig=("canvas_domain" "canvas_token")
local catalogconfig=("catalog_domain" "catalog_token")
local cdataconfig=("data_key" "data_secret")
local commonsconfig=("canvas_domain" "canvas_token")
local studioconfig=("studio_domain" "studio_email" "studio_password")
local cfg=()
case $cmd in
bridge)
cfg=(${bridgeconfig[@]}) ;;
canvas)
cfg=(${canvasconfig[@]}) ;;
catalog)
Expand Down Expand Up @@ -227,8 +224,6 @@ setconfig() {
touch ~/.inst
if [ $? = 0 ]; then
case $cmd in
bridge)
bridge_setdomain; bridge_settoken;;
canvas)
canvas_setdomain; canvas_settoken;;
catalog)
Expand Down Expand Up @@ -257,21 +252,6 @@ setconfig() {
clear >&2
}

bridge_setdomain() {
clear >&2
printf >&2 "what is your Bridge subdomain?\r\n"
printf >&2 "https://<subdomain>.bridgeapp.com"
read bridgedomain
echo "bridge_domain=\"$bridgedomain\"" >> ~/.inst
}

bridge_settoken() {
clear >&2
echo >&2 "What is your Bridge API token?\r\n"
read bridgetoken
echo "bridge_token=\"$bridgetoken\"" >> ~/.inst
}

canvas_setdomain() {
clear >&2
printf >&2 "What is your Canvas subdomain?\r\n"
Expand Down

0 comments on commit 34e24fe

Please sign in to comment.