completest-nu

Run completions for your program

5 releases

0.4.2 Jul 25, 2024
0.4.1 Jun 29, 2024
0.4.0 Jan 15, 2024
0.3.1 Jan 15, 2024
0.3.0 Jan 15, 2024
Download history 36/week @ 2024-06-20 335/week @ 2024-06-27 297/week @ 2024-07-04 35/week @ 2024-07-11 48/week @ 2024-07-18 278/week @ 2024-07-25 108/week @ 2024-08-01 95/week @ 2024-08-08 48/week @ 2024-08-15 47/week @ 2024-08-22 48/week @ 2024-08-29 23/week @ 2024-09-05 60/week @ 2024-09-12 38/week @ 2024-09-19 59/week @ 2024-09-26 37/week @ 2024-10-03

195 downloads per month
Used in clap_complete_nushell

MIT/Apache and maybe CC-PDDC

25KB
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

~66–100MB
~2M SLoC