#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

#811 in Command-line interface

Download history 979/week @ 2024-10-16 1904/week @ 2024-10-23 985/week @ 2024-10-30 753/week @ 2024-11-06 635/week @ 2024-11-13 308/week @ 2024-11-20 609/week @ 2024-11-27 577/week @ 2024-12-04 718/week @ 2024-12-11 348/week @ 2024-12-18 242/week @ 2024-12-25 954/week @ 2025-01-01 1075/week @ 2025-01-08 1131/week @ 2025-01-15 1057/week @ 2025-01-22 1446/week @ 2025-01-29

5,027 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