Crate completest_nu
source ·Expand description
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();Structs§
- Nushell runtime
- Abstract factory for
NuRuntime - Terminal that shell’s will run completions in
Traits§
- Run completions for a shell
- Abstract factory for
Runtime