2024-07-14 10:10:41 +02:00
|
|
|
#![doc = include_str!("../README.md")]
|
2022-03-16 19:17:06 +01:00
|
|
|
mod commands;
|
2021-09-10 00:09:40 +02:00
|
|
|
mod completions;
|
2022-03-16 19:17:06 +01:00
|
|
|
mod config_files;
|
2023-04-10 00:56:47 +02:00
|
|
|
mod eval_cmds;
|
2022-03-16 19:17:06 +01:00
|
|
|
mod eval_file;
|
2022-04-04 16:54:48 +02:00
|
|
|
mod menus;
|
2022-01-24 16:05:19 +01:00
|
|
|
mod nu_highlight;
|
2022-02-18 19:43:34 +01:00
|
|
|
mod print;
|
2021-10-02 15:10:28 +02:00
|
|
|
mod prompt;
|
2022-03-16 19:17:06 +01:00
|
|
|
mod prompt_update;
|
|
|
|
mod reedline_config;
|
|
|
|
mod repl;
|
2021-08-10 20:51:08 +02:00
|
|
|
mod syntax_highlight;
|
2022-02-18 19:43:34 +01:00
|
|
|
mod util;
|
2021-09-22 07:29:53 +02:00
|
|
|
mod validation;
|
2021-08-10 20:51:08 +02:00
|
|
|
|
2023-04-10 00:56:47 +02:00
|
|
|
pub use commands::add_cli_context;
|
2024-03-25 02:14:12 +01:00
|
|
|
pub use completions::{FileCompletion, NuCompleter, SemanticSuggestion, SuggestionKind};
|
2022-03-16 19:17:06 +01:00
|
|
|
pub use config_files::eval_config_contents;
|
2024-06-19 06:37:24 +02:00
|
|
|
pub use eval_cmds::{evaluate_commands, EvaluateCommandsOpts};
|
2022-03-16 19:17:06 +01:00
|
|
|
pub use eval_file::evaluate_file;
|
2024-01-28 17:26:03 +01:00
|
|
|
pub use menus::NuHelpCompleter;
|
2022-01-24 16:05:19 +01:00
|
|
|
pub use nu_highlight::NuHighlight;
|
2022-02-18 19:43:34 +01:00
|
|
|
pub use print::Print;
|
2021-10-02 15:10:28 +02:00
|
|
|
pub use prompt::NushellPrompt;
|
2022-03-16 19:17:06 +01:00
|
|
|
pub use repl::evaluate_repl;
|
2021-08-10 20:51:08 +02:00
|
|
|
pub use syntax_highlight::NuHighlighter;
|
2023-03-20 05:05:22 +01:00
|
|
|
pub use util::{eval_source, gather_parent_env_vars};
|
2021-09-22 07:29:53 +02:00
|
|
|
pub use validation::NuValidator;
|
2022-03-16 19:17:06 +01:00
|
|
|
|
|
|
|
#[cfg(feature = "plugin")]
|
|
|
|
pub use config_files::add_plugin_file;
|
|
|
|
#[cfg(feature = "plugin")]
|
2024-04-21 14:36:26 +02:00
|
|
|
pub use config_files::migrate_old_plugin_file;
|
|
|
|
#[cfg(feature = "plugin")]
|
2022-03-16 19:17:06 +01:00
|
|
|
pub use config_files::read_plugin_file;
|