feat: nushell completions
ci/woodpecker/push/goreleaser Pipeline was successful
Details
ci/woodpecker/push/goreleaser Pipeline was successful
Details
Signed-off-by: jolheiser <john.olheiser@gmail.com>main
parent
0b81160c3c
commit
bc07bf116e
|
@ -0,0 +1,21 @@
|
|||
def keys [] {
|
||||
^kv list | lines | each { |line| $line | str trim }
|
||||
}
|
||||
|
||||
export extern "kv get" [
|
||||
key: string@keys # Key
|
||||
]
|
||||
|
||||
export extern "kv set" [
|
||||
key: string # Key
|
||||
value: string # Value
|
||||
...value: string # Value cont.
|
||||
]
|
||||
|
||||
export extern "kv del" [
|
||||
key: string@keys #Key
|
||||
]
|
||||
|
||||
export extern "kv list" [
|
||||
prefix?: string # Key prefix filter
|
||||
]
|
Loading…
Reference in New Issue