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

36 lines
903 B
Rust
Raw Normal View History

mod commands;
2021-09-09 22:09:40 +00:00
mod completions;
mod config_files;
mod eval_cmds;
mod eval_file;
mod menus;
mod nu_highlight;
mod print;
2021-10-02 13:10:28 +00:00
mod prompt;
mod prompt_update;
mod reedline_config;
mod repl;
2021-08-10 18:51:08 +00:00
mod syntax_highlight;
mod util;
2021-09-22 05:29:53 +00:00
mod validation;
2021-08-10 18:51:08 +00:00
pub use commands::add_cli_context;
pub use completions::{FileCompletion, NuCompleter};
pub use config_files::eval_config_contents;
pub use eval_cmds::evaluate_commands;
pub use eval_file::evaluate_file;
pub use menus::{DescriptionMenu, NuHelpCompleter};
pub use nu_cmd_base::util::get_init_cwd;
pub use nu_highlight::NuHighlight;
pub use print::Print;
2021-10-02 13:10:28 +00:00
pub use prompt::NushellPrompt;
pub use repl::evaluate_repl;
2021-08-10 18:51:08 +00:00
pub use syntax_highlight::NuHighlighter;
pub use util::{eval_source, gather_parent_env_vars};
2021-09-22 05:29:53 +00: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;