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

Download history 151/week @ 2024-01-15 61/week @ 2024-01-22 54/week @ 2024-01-29 71/week @ 2024-02-05 18/week @ 2024-02-12 43/week @ 2024-02-19 73/week @ 2024-02-26 39/week @ 2024-03-04 84/week @ 2024-03-11 86/week @ 2024-03-18 103/week @ 2024-03-25 344/week @ 2024-04-01 578/week @ 2024-04-08 461/week @ 2024-04-15

1,491 downloads per month
Used in 2 crates

MIT/Apache

24KB
442 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

~2MB
~45K SLoC