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§
- Bash
Runtime - Bash runtime
- Bash
Runtime Builder - Abstract factory for
BashRuntime
- Elvish
Runtime - Elvish runtime
- Elvish
Runtime Builder - Abstract factory for
ElvishRuntime
- Fish
Runtime - Fish runtime
- Fish
Runtime Builder - Abstract factory for
FishRuntime
- Term
- Terminal that shell’s will run completions in
- ZshRuntime
- Zsh runtime
- ZshRuntime
Builder - Abstract factory for
ZshRuntime
Traits§
- Runtime
- Run completions for a shell
- Runtime
Builder - Abstract factory for
Runtime