feat: add ability to specify custom flags on clone/create

Refs dokku/dokku-redis#64
This commit is contained in:
Jose Diaz-Gonzalez
2017-08-26 18:10:36 -04:00
parent 2b64246b1d
commit 014d7b1e76
4 changed files with 70 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ mongo-create-cmd() {
local cmd="$PLUGIN_COMMAND_PREFIX:create" argv=("$@"); [[ ${argv[0]} == "$cmd" ]] && shift 1
declare SERVICE="$1"
service_create "$SERVICE"
service_create "$SERVICE" "${@:2}"
}
mongo-create-cmd "$@"