Files
dokku/plugins/network/subcommands/rebuild
Jose Diaz-Gonzalez ec9b8be5f8 feat: implement first-pass at networking plugin
Implements help, `rebuild`, and `rebuildall` command.

Refs #2403
2017-10-02 15:05:13 -07:00

14 lines
308 B
Bash
Executable File

#!/usr/bin/env bash
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
source "$PLUGIN_AVAILABLE_PATH/network/functions"
network_rebuild_cmd() {
declare desc="rebuilds network settings for an app"
local cmd="network:rebuild"
local APP="$2"
dokku_write_network_config "$APP"
}
network_rebuild_cmd "$@"