move standard commands into subcommands

This commit is contained in:
Michael Hobbs committed 2016-03-03 22:11:35 -08:00
1 parent aa2415eeb8
commit 3aa8bbd629
15 files changed
+448 -395

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
dokku_cleanup_cmd(){
local desc="cleans up old deployment cruft"
local cmd="cleanup"
docker_cleanup
}
dokku_cleanup_cmd "$@"