#completion #path #unix

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

#1091 in Command-line interface

Download history 281/week @ 2024-07-22 98/week @ 2024-07-29 114/week @ 2024-08-05 48/week @ 2024-08-12 41/week @ 2024-08-19 53/week @ 2024-08-26 42/week @ 2024-09-02 10/week @ 2024-09-09 79/week @ 2024-09-16 33/week @ 2024-09-23 74/week @ 2024-09-30 17/week @ 2024-10-07 35/week @ 2024-10-14 61/week @ 2024-10-21 45/week @ 2024-10-28 14/week @ 2024-11-04

157 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

~67–100MB
~2M SLoC