#completion #path #unix

completest-pty

Run completions for your program

9 releases

0.5.5 Sep 4, 2024
0.5.4 Aug 28, 2024
0.5.3 Jul 25, 2024
0.5.1 Jun 29, 2024
0.3.1 Jan 15, 2024

#709 in Command-line interface

Download history 949/week @ 2024-07-29 819/week @ 2024-08-05 677/week @ 2024-08-12 853/week @ 2024-08-19 765/week @ 2024-08-26 712/week @ 2024-09-02 1917/week @ 2024-09-09 4269/week @ 2024-09-16 2950/week @ 2024-09-23 803/week @ 2024-09-30 528/week @ 2024-10-07 755/week @ 2024-10-14 1944/week @ 2024-10-21 1141/week @ 2024-10-28 775/week @ 2024-11-04 777/week @ 2024-11-11

4,713 downloads per month
Used in 2 crates

MIT/Apache

30KB
432 lines

Run completions for your program

Example

let term = completest_pty::Term::new();

let mut runtime = completest_pty::BashRuntime::new(bin_root, home).unwrap();
runtime.register("foo", completion_script).unwrap();
let output = runtime.complete("foo \t\t", &term).unwrap();

Dependencies

~3.5MB
~64K SLoC