mirror of
https://github.com/nushell/nu_scripts.git
synced 2024-09-11 13:45:56 +03:00
it might be too trivial to manually create a completion. in many scenarios, completion is a tree-shaped structure - the current candidate is influenced by the previous candidate. `completion-generator` generate completion through tree-like structures ```` {a: {b: {c: {d: 1 e: 2} ```` it uses existing positional arguments as a breadcrumbs to select candidates in tree structures as an example, `completion-generator flare` to create completion from online json data `completion-generator` supports different structural expressions ```` {value: desc} {value: { next : ...} [a b c ...] [{value: a, description: b, next: [...]] {|path| ...} ```` these different structures allow any kind of nesting Co-authored-by: nash <nash@iffy.me> |
||
---|---|---|
.. | ||
completion-generator.nu |