#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

#1112 in Command-line interface

Download history 42/week @ 2024-09-18 44/week @ 2024-09-25 61/week @ 2024-10-02 21/week @ 2024-10-09 40/week @ 2024-10-16 51/week @ 2024-10-23 45/week @ 2024-10-30 13/week @ 2024-11-06 26/week @ 2024-11-13 14/week @ 2024-11-20 154/week @ 2024-11-27 237/week @ 2024-12-04 179/week @ 2024-12-11 82/week @ 2024-12-18 44/week @ 2024-12-25 288/week @ 2025-01-01

640 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