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
4,577 downloads per month
Used in 2 crates
30KB
432 lines
completest
Run completions for your program
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/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.
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