feat: make plugin:default an alias of plugin:list
This commit is contained in:
@@ -1,11 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
||||
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
|
||||
source "$PLUGIN_CORE_AVAILABLE_PATH/plugin/internal-functions"
|
||||
|
||||
plugin_main_cmd() {
|
||||
declare desc="shows details about locally installed plugins"
|
||||
local cmd="plugin"
|
||||
plugn version
|
||||
plugn list
|
||||
}
|
||||
|
||||
plugin_main_cmd "$@"
|
||||
dokku_log_warn "Deprecated: Please use plugin:list"
|
||||
plugin_list_cmd "$@"
|
||||
|
||||
5
plugins/plugin/subcommands/list
Executable file
5
plugins/plugin/subcommands/list
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
||||
source "$PLUGIN_CORE_AVAILABLE_PATH/plugin/internal-functions"
|
||||
|
||||
plugin_list_cmd "$@"
|
||||
Reference in New Issue
Block a user