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 |
#373 in Command-line interface
1,491 downloads per month
Used in 2 crates
24KB
442 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
~2MB
~45K SLoC