feat: implement first-pass at networking plugin
Implements help, `rebuild`, and `rebuildall` command. Refs #2403
This commit is contained in:
committed by
Michael Hobbs
parent
8be92d9739
commit
ec9b8be5f8
15
plugins/network/commands
Executable file
15
plugins/network/commands
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
[[ " help network:help " == *" $1 "* ]] || exit "$DOKKU_NOT_IMPLEMENTED_EXIT"
|
||||
source "$PLUGIN_AVAILABLE_PATH/network/internal-functions"
|
||||
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
||||
|
||||
case "$1" in
|
||||
help | network:help)
|
||||
network_help_cmd "$@"
|
||||
;;
|
||||
|
||||
*)
|
||||
exit "$DOKKU_NOT_IMPLEMENTED_EXIT"
|
||||
;;
|
||||
|
||||
esac
|
||||
Reference in New Issue
Block a user