1
1
mirror of https://github.com/casey/just.git synced 2024-11-23 11:04:09 +03:00
just/completions/just.nu
2023-10-08 21:24:47 -07:00

9 lines
375 B
Plaintext

def "nu-complete just" [] {
(^just --dump --unstable --dump-format json | from json).recipes | transpose recipe data | flatten | where {|row| $row.private == false } | select recipe doc parameters | rename value description
}
# Just: A Command Runner
export extern "just" [
...recipe: string@"nu-complete just", # Recipe(s) to run, may be with argument(s)
]