refactor: alias ssh-keys:default to ssh-keys:help
This commit is contained in:
1 parent
a09560542b
commit
448b6e9ac1
1 file changed
+2
-9
Regular → Executable
+2
-9
@@ -1,12 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
||||||
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
|
source "$PLUGIN_AVAILABLE_PATH/ssh-keys/internal-functions"
|
||||||
source "$PLUGIN_AVAILABLE_PATH/ssh-keys/functions"
|
|
||||||
|
|
||||||
ssh_keys_main_cmd() {
|
ssh_keys_help_cmd "$@"
|
||||||
declare desc="an alias for ssh-keys:list"
|
|
||||||
local cmd="ssh-keys"
|
|
||||||
list_ssh_keys
|
|
||||||
}
|
|
||||||
|
|
||||||
ssh_keys_main_cmd "$@"
|
|
||||||
Reference in new issue
Block a user