Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions bin/apps-addupdate
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

source "$DIR/common.sh"
source "$DIR/apps-common.sh"
source "$DIR/template-common.sh"

# Script logic -- TOUCH THIS {{{

Expand All @@ -36,7 +35,6 @@ existing application, an application id must be provided.
-F, --filetoupload File containing the JSON app description to submit
Use - to read from STDIN and when piping
-E, --variables Variables file for populating template variables (app.ini)
--notemplate Do not attempt to render upload file as a template
--filter Comma separated list of fields to return in the response
-H, --hosturl URL of the service
-d, --development Run in dev mode using default dev server
Expand All @@ -57,7 +55,7 @@ existing application, an application id must be provided.
##################################################################

variablesfile=app.ini
template=1
template=0
declare -a envs

main() {
Expand Down Expand Up @@ -185,7 +183,6 @@ while [[ $1 = -?* ]]; do
-F|--filetoupload) shift; filetoupload=$1 ;;
-E|--variables) shift; variablesfile=$1 ;;
-e|--env) shift; exportenv "${1}" ;;
--notemplate) template=0 ;;
--filter) shift; responsefilter=$1;;
-H|--hosturl) shift; hosturl=$1 ;;
-d|--development) development=1 ;;
Expand Down