#completion #path #cfg

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

#1126 in Command-line interface

Download history 16/week @ 2024-11-17 80/week @ 2024-11-24 226/week @ 2024-12-01 199/week @ 2024-12-08 126/week @ 2024-12-15 65/week @ 2024-12-22 234/week @ 2024-12-29 199/week @ 2025-01-05 102/week @ 2025-01-12 122/week @ 2025-01-19 202/week @ 2025-01-26 229/week @ 2025-02-02 232/week @ 2025-02-09 316/week @ 2025-02-16 233/week @ 2025-02-23 374/week @ 2025-03-02

1,169 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

~68–100MB
~2M SLoC