#completion #path #cfg

completest-pty

Run completions for your program

4 releases (2 breaking)

0.5.0 Jan 15, 2024
0.4.0 Jan 15, 2024
0.3.1 Jan 15, 2024
0.3.0 Jan 15, 2024

#478 in Command-line interface

Download history 54/week @ 2024-01-29 71/week @ 2024-02-05 18/week @ 2024-02-12 43/week @ 2024-02-19 73/week @ 2024-02-26 39/week @ 2024-03-04 84/week @ 2024-03-11 86/week @ 2024-03-18 103/week @ 2024-03-25 344/week @ 2024-04-01 578/week @ 2024-04-08 461/week @ 2024-04-15 546/week @ 2024-04-22 576/week @ 2024-04-29 681/week @ 2024-05-06 654/week @ 2024-05-13

2,462 downloads per month
Used in 2 crates

MIT/Apache

24KB
442 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

~2MB
~45K SLoC