mirror of
https://github.com/nushell/nushell
synced 2025-01-08 19:29:08 +00:00
b004e80f77
* [Refactor Menu System with Composition of Menu Functions](https://github.com/nushell/reedline/issues/706) * Move Description Menu over to Reedline to consolidate location of the Menus which will simplify further changes and maintenance to the Menu system going forward * Removes lots of code duplication in the Menu system on the Reedline side which should ease a developers ability to develop new cool menus for Reedline moving forward
35 lines
884 B
Rust
35 lines
884 B
Rust
mod commands;
|
|
mod completions;
|
|
mod config_files;
|
|
mod eval_cmds;
|
|
mod eval_file;
|
|
mod menus;
|
|
mod nu_highlight;
|
|
mod print;
|
|
mod prompt;
|
|
mod prompt_update;
|
|
mod reedline_config;
|
|
mod repl;
|
|
mod syntax_highlight;
|
|
mod util;
|
|
mod validation;
|
|
|
|
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::NuHelpCompleter;
|
|
pub use nu_cmd_base::util::get_init_cwd;
|
|
pub use nu_highlight::NuHighlight;
|
|
pub use print::Print;
|
|
pub use prompt::NushellPrompt;
|
|
pub use repl::evaluate_repl;
|
|
pub use syntax_highlight::NuHighlighter;
|
|
pub use util::{eval_source, gather_parent_env_vars};
|
|
pub use validation::NuValidator;
|
|
|
|
#[cfg(feature = "plugin")]
|
|
pub use config_files::add_plugin_file;
|
|
#[cfg(feature = "plugin")]
|
|
pub use config_files::read_plugin_file;
|