chore: add label to zsh auto-completion

This commit is contained in:
fryorcraken 2026-02-05 15:15:53 +11:00
parent 5b11234335
commit 94d4ccad80
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4

View File

@ -150,10 +150,11 @@ _wallet_account() {
subcommand)
subcommands=(
'get:Get account data'
'list:List all accounts'
'list:List all accounts owned by the wallet'
'ls:List all accounts (alias for list)'
'new:Produce new public or private account'
'sync-private:Sync private accounts'
'label:Set a label for an account'
'help:Print this message or the help of the given subcommand(s)'
)
_describe -t subcommands 'account subcommands' subcommands
@ -184,6 +185,11 @@ _wallet_account() {
;;
esac
;;
label)
_arguments \
'(-a --account-id)'{-a,--account-id}'[Account ID to label]:account_id:_wallet_account_ids' \
'(-l --label)'{-l,--label}'[The label to assign to the account]:label:'
;;
esac
;;
esac