#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

#47 in #completion

Download history 58/week @ 2024-02-03 19/week @ 2024-02-10 38/week @ 2024-02-17 64/week @ 2024-02-24 35/week @ 2024-03-02 75/week @ 2024-03-09 61/week @ 2024-03-16 66/week @ 2024-03-23 92/week @ 2024-03-30 62/week @ 2024-04-06 23/week @ 2024-04-13 19/week @ 2024-04-20 180/week @ 2024-04-27 3/week @ 2024-05-04 42/week @ 2024-05-11 51/week @ 2024-05-18

277 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–100MB
~2M SLoC