mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-03-09 22:21:11 +01:00
Update kabalist cli
This commit is contained in:
parent
56b39eef8f
commit
e02afe9f7f
2 changed files with 33 additions and 3 deletions
6
flake.lock
generated
6
flake.lock
generated
|
|
@ -131,11 +131,11 @@
|
|||
"kabalist": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1658067642,
|
||||
"narHash": "sha256-h3eHpVqKNZ3Ox6px4w8Vl6ewaWB8k7YgmS0Bx7N9psc=",
|
||||
"lastModified": 1658075978,
|
||||
"narHash": "sha256-JqsHVbX1h5kQ5saexXN16AkpB+NE5Ltw9FPXUhzuKcA=",
|
||||
"owner": "traxys",
|
||||
"repo": "kabalist",
|
||||
"rev": "19fd995f481af3294ff919b2078aa2cf97fe4a5f",
|
||||
"rev": "b4fb0c1edb75faa36126c5a805137bb0230febd8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
|||
|
|
@ -249,6 +249,24 @@ _arguments "${_arguments_options[@]}" \
|
|||
':target:' \
|
||||
&& ret=0
|
||||
;;
|
||||
(edit)
|
||||
_arguments "${_arguments_options[@]}" \
|
||||
'-t+[]:TARGET: ' \
|
||||
'--target=[]:TARGET: ' \
|
||||
'-a+[]:AMOUNT: ' \
|
||||
'--amount=[]:AMOUNT: ' \
|
||||
'-h[Print help information]' \
|
||||
'--help[Print help information]' \
|
||||
':item:' \
|
||||
&& ret=0
|
||||
;;
|
||||
(delete)
|
||||
_arguments "${_arguments_options[@]}" \
|
||||
'-h[Print help information]' \
|
||||
'--help[Print help information]' \
|
||||
':item:' \
|
||||
&& ret=0
|
||||
;;
|
||||
(refill)
|
||||
_arguments "${_arguments_options[@]}" \
|
||||
'-h[Print help information]' \
|
||||
|
|
@ -373,11 +391,21 @@ _kabalist_cli__list__delete_commands() {
|
|||
local commands; commands=()
|
||||
_describe -t commands 'kabalist_cli list delete commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_kabalist_cli__list__pantry__delete_commands] )) ||
|
||||
_kabalist_cli__list__pantry__delete_commands() {
|
||||
local commands; commands=()
|
||||
_describe -t commands 'kabalist_cli list pantry delete commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_kabalist_cli__list__share__delete_commands] )) ||
|
||||
_kabalist_cli__list__share__delete_commands() {
|
||||
local commands; commands=()
|
||||
_describe -t commands 'kabalist_cli list share delete commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_kabalist_cli__list__pantry__edit_commands] )) ||
|
||||
_kabalist_cli__list__pantry__edit_commands() {
|
||||
local commands; commands=()
|
||||
_describe -t commands 'kabalist_cli list pantry edit commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_kabalist_cli__account__help_commands] )) ||
|
||||
_kabalist_cli__account__help_commands() {
|
||||
local commands; commands=()
|
||||
|
|
@ -463,6 +491,8 @@ _kabalist_cli__account__login_commands() {
|
|||
_kabalist_cli__list__pantry_commands() {
|
||||
local commands; commands=(
|
||||
'add:' \
|
||||
'edit:' \
|
||||
'delete:' \
|
||||
'refill:' \
|
||||
'help:Print this message or the help of the given subcommand(s)' \
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue