#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 1019/week @ 2024-07-24 1047/week @ 2024-07-31 591/week @ 2024-08-07 905/week @ 2024-08-14 686/week @ 2024-08-21 676/week @ 2024-08-28 1093/week @ 2024-09-04 2923/week @ 2024-09-11 4291/week @ 2024-09-18 1630/week @ 2024-09-25 858/week @ 2024-10-02 573/week @ 2024-10-09 979/week @ 2024-10-16 1904/week @ 2024-10-23 985/week @ 2024-10-30 719/week @ 2024-11-06

4,764 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