#completion #path #unix

completest-nu

Run completions for your program

3 unstable releases

0.4.0 Jan 15, 2024
0.3.1 Jan 15, 2024
0.3.0 Jan 15, 2024

#945 in Command-line interface

Download history 41/week @ 2024-01-29 57/week @ 2024-02-05 15/week @ 2024-02-12 40/week @ 2024-02-19 77/week @ 2024-02-26 23/week @ 2024-03-04 77/week @ 2024-03-11 58/week @ 2024-03-18 64/week @ 2024-03-25 105/week @ 2024-04-01 66/week @ 2024-04-08 4/week @ 2024-04-15 22/week @ 2024-04-22 180/week @ 2024-04-29 44/week @ 2024-05-13

246 downloads per month
Used in clap_complete_nushell

MIT/Apache and maybe CC-PDDC

19KB
253 lines

Run completions for your program

Example

let term = completest_nu::Term::new();

let mut runtime = completest_nu::NuRuntime::new(bin_root, home).unwrap();
runtime.register("foo", completion_script).unwrap();
let output = runtime.complete("foo \t\t", &term).unwrap();

Dependencies

~64–98MB
~2M SLoC