nushell/crates/nu-cli/src/lib.rs

36 lines
894 B
Rust
Raw Normal View History

mod commands;
2021-09-10 00:09:40 +02:00
mod completions;
mod config_files;
2021-08-10 20:51:08 +02:00
mod errors;
mod eval_file;
mod menus;
mod nu_highlight;
mod print;
2021-10-02 15:10:28 +02:00
mod prompt;
mod prompt_update;
mod reedline_config;
mod repl;
2021-08-10 20:51:08 +02:00
mod syntax_highlight;
mod util;
2021-09-22 07:29:53 +02:00
mod validation;
2021-08-10 20:51:08 +02:00
pub use commands::evaluate_commands;
2021-09-10 00:09:40 +02:00
pub use completions::NuCompleter;
pub use config_files::eval_config_contents;
pub use errors::CliError;
pub use eval_file::evaluate_file;
pub use menus::{DescriptionMenu, NuHelpCompleter};
pub use nu_highlight::NuHighlight;
pub use print::Print;
2021-10-02 15:10:28 +02:00
pub use prompt::NushellPrompt;
pub use repl::evaluate_repl;
2021-08-10 20:51:08 +02:00
pub use syntax_highlight::NuHighlighter;
pub use util::print_pipeline_data;
pub use util::{eval_source, gather_parent_env_vars, get_init_cwd, report_error};
2021-09-22 07:29:53 +02:00
pub use validation::NuValidator;
#[cfg(feature = "plugin")]
pub use config_files::add_plugin_file;
#[cfg(feature = "plugin")]
pub use config_files::read_plugin_file;