Crate completest
source ·Available on Unix only.
Expand description
Run completions for your program
Example
let term = completest::Term::new();
let runtime = completest::BashRuntime::new(bin_root, home).unwrap();
runtime.register("foo", completion_script).unwrap();
let output = runtime.complete("foo \t\t", &term).unwrap();Structs
- Terminal that shell’s will run completions in
Enums
- Runtime-selection of a
Runtimeof supported shells