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

#695 in Command-line interface

Download history 312/week @ 2024-11-21 566/week @ 2024-11-28 638/week @ 2024-12-05 677/week @ 2024-12-12 287/week @ 2024-12-19 264/week @ 2024-12-26 1022/week @ 2025-01-02 1218/week @ 2025-01-09 1070/week @ 2025-01-16 1145/week @ 2025-01-23 1456/week @ 2025-01-30 1265/week @ 2025-02-06 737/week @ 2025-02-13 539/week @ 2025-02-20 1860/week @ 2025-02-27 1303/week @ 2025-03-06

4,577 downloads per month
Used in 2 crates

MIT/Apache

30KB
432 lines

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.


lib.rs:

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