#completion #completest

completest-pty

Run completions for your program

11 releases (2 stable)

Uses new Rust 2024

1.1.0 Mar 12, 2026
0.5.5 Sep 4, 2024
0.5.3 Jul 25, 2024
0.5.0 Jan 15, 2024

#1873 in Command-line interface

Download history 720/week @ 2026-01-07 848/week @ 2026-01-14 953/week @ 2026-01-21 965/week @ 2026-01-28 1130/week @ 2026-02-04 1779/week @ 2026-02-11 1774/week @ 2026-02-18 2122/week @ 2026-02-25 2319/week @ 2026-03-04 2194/week @ 2026-03-11 1910/week @ 2026-03-18 2043/week @ 2026-03-25 2502/week @ 2026-04-01 2597/week @ 2026-04-08 2640/week @ 2026-04-15 3601/week @ 2026-04-22

11,586 downloads per month
Used in 2 crates

MIT/Apache

31KB
435 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();

completest

Run completions for your program

Documentation License Crates Status

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual-licensed as above, without any additional terms or conditions.

Dependencies

~4MB
~72K SLoC