3 unstable releases

0.4.0 Jan 15, 2024
0.3.1 Jan 15, 2024
0.3.0 Jan 15, 2024

#846 in Command-line interface

Download history 90/week @ 2024-01-12 46/week @ 2024-01-19 30/week @ 2024-01-26 69/week @ 2024-02-02 17/week @ 2024-02-09 23/week @ 2024-02-16 77/week @ 2024-02-23 39/week @ 2024-03-01 47/week @ 2024-03-08 71/week @ 2024-03-15 84/week @ 2024-03-22 90/week @ 2024-03-29 63/week @ 2024-04-05 27/week @ 2024-04-12

288 downloads per month
Used in clap_complete_nushell

MIT/Apache and maybe CC-PDDC

19KB
253 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_nu::Term::new();

let mut runtime = completest_nu::NuRuntime::new(bin_root, home).unwrap();
runtime.register("foo", completion_script).unwrap();
let output = runtime.complete("foo \t\t", &term).unwrap();

Dependencies

~63–99MB
~2M SLoC