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
11,586 downloads per month
Used in 2 crates
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
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/license/mit)
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