#completion #path #cfg

completest-nu

Run completions for your program

5 releases

new 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

#972 in Command-line interface

Download history 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 80/week @ 2024-05-20 34/week @ 2024-05-27 81/week @ 2024-06-03 58/week @ 2024-06-10 14/week @ 2024-06-17 279/week @ 2024-06-24 291/week @ 2024-07-01 115/week @ 2024-07-08 23/week @ 2024-07-15

710 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

~65–100MB
~2M SLoC