feat: initial commit
This commit is contained in:
commit
b802ff49ab
454 files changed
+52429
No files matched your search
@@ -0,0 +1,10 @@
|
||||
def "nu-complete pm" [spans: list<string>] {
|
||||
let args = ($spans | skip 1)
|
||||
let index = (($args | length) - 1)
|
||||
^pm completion query --json --index $index -- ...$args
|
||||
| from json
|
||||
| each {|it| {value: $it.value description: ($it | get -o description | default "")}}
|
||||
}
|
||||
|
||||
@complete 'nu-complete pm'
|
||||
export extern "pm" []
|
||||
Reference in new issue
Block a user