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