completest-nu 1.0.0

Run completions for your program
docs.rs failed to build completest-nu-1.0.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: completest-nu-0.4.2

Run completions for your program

Example

# #[cfg(unix)] {
# use std::path::Path;
# let bin_root = Path::new("").to_owned();
# let completion_script = "";
# let home = std::env::current_dir().unwrap();
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();
# }