Crate completest_pty
source ·Available on Unix only.
Expand description
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();
Structs
- Terminal that shell’s will run completions in