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