refactor: standardize command naming
This standardization makes it somewhat easier to read stacktraces as the command names are all uniform, so it will be slightly easier to scan trace output.
This commit is contained in:
@@ -11,7 +11,7 @@ ssh_keys_help_content_func() {
|
||||
help_content
|
||||
}
|
||||
|
||||
ssh_keys_help_cmd() {
|
||||
cmd-ssh-keys-help() {
|
||||
if [[ $1 == "ssh-keys:help" ]]; then
|
||||
echo -e 'Usage: dokku ssh-keys[:COMMAND]'
|
||||
echo ''
|
||||
@@ -27,3 +27,11 @@ ssh_keys_help_cmd() {
|
||||
help_desc
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
cmd-list-ssh-keys() {
|
||||
declare desc="List ssh key hashes"
|
||||
local cmd="ssh-keys:list"
|
||||
verify_ssh_key_file
|
||||
sshcommand list dokku
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user