1#![doc = include_str!("../README.md")]
2#![cfg_attr(test, allow(clippy::unwrap_used))]
3
4mod commands;
5mod completions;
6mod config_files;
7mod eval_cmds;
8mod eval_file;
9mod hints;
10mod menus;
11mod nu_highlight;
12mod print;
13mod prompt;
14mod prompt_update;
15mod reedline_config;
16mod repl;
17mod syntax_highlight;
18mod util;
19mod validation;
20
21pub use commands::add_cli_context;
22pub use completions::{FileCompletion, NuCompleter, SemanticSuggestion, SuggestionKind};
23pub use config_files::eval_config_contents;
24pub use eval_cmds::{EvaluateCommandsOpts, evaluate_commands};
25pub use eval_file::evaluate_file;
26pub use menus::NuHelpCompleter;
27pub use nu_highlight::NuHighlight;
28pub use print::Print;
29pub use prompt::NushellPrompt;
30pub use prompt_update::update_prompt;
31pub use repl::evaluate_repl;
32pub use syntax_highlight::NuHighlighter;
33pub use util::{eval_source, gather_parent_env_vars};
34pub use validation::NuValidator;
35
36#[cfg(feature = "plugin")]
37pub use config_files::add_plugin_file;
38#[cfg(feature = "plugin")]
39pub use config_files::migrate_old_plugin_file;
40#[cfg(feature = "plugin")]
41pub use config_files::read_plugin_file;
42
43#[cfg(test)]
44#[macro_use]
45extern crate nu_test_support;
46
47#[cfg(test)]
48use nu_test_support::harness::main;