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