mirror of
https://github.com/nushell/nushell.git
synced 2024-11-29 11:54:02 +01:00
c42b588782
* Revert "History, more test coverage improvements, and refactorings. (#3217)"
This reverts commit 8fc8fc89aa
.
* Add tests
* Refactor .nu-env
* Change logic of Config write to logic of read()
* Fix reload always appends to old vars
* Fix reload always takes last_modified of global config
* Add reload_config in evaluation context
* Reload config after writing to it in cfg set / cfg set_into
* Add --no-history to cli options
* Use --no-history in tests
* Add comment about maybe_print_errors
* Get ctrl_exit var from context.global_config
* Use context.global_config in command "config"
* Add Readme in engine how env vars are now handled
* Update docs from autoenv command
* Move history_path from engine to nu_data
* Move load history out of if
* No let before return
* Add import for indexmap
48 lines
1.7 KiB
Rust
48 lines
1.7 KiB
Rust
pub mod basic_evaluation_context;
|
|
pub mod basic_shell_manager;
|
|
mod call_info;
|
|
mod command_args;
|
|
mod config_holder;
|
|
pub mod deserializer;
|
|
pub mod documentation;
|
|
mod env;
|
|
mod evaluate;
|
|
mod evaluation_context;
|
|
mod example;
|
|
pub mod filesystem;
|
|
mod maybe_text_codec;
|
|
pub mod plugin;
|
|
mod print;
|
|
mod runnable_context;
|
|
pub mod script;
|
|
pub mod shell;
|
|
mod whole_stream_command;
|
|
|
|
pub use crate::basic_evaluation_context::basic_evaluation_context;
|
|
pub use crate::basic_shell_manager::basic_shell_manager;
|
|
pub use crate::call_info::UnevaluatedCallInfo;
|
|
pub use crate::command_args::{
|
|
CommandArgs, EvaluatedCommandArgs, EvaluatedWholeStreamCommandArgs, RawCommandArgs,
|
|
};
|
|
pub use crate::config_holder::ConfigHolder;
|
|
pub use crate::documentation::{generate_docs, get_brief_help, get_documentation, get_full_help};
|
|
pub use crate::env::host::FakeHost;
|
|
pub use crate::env::host::Host;
|
|
pub use crate::evaluate::block::run_block;
|
|
pub use crate::evaluate::evaluator::evaluate_baseline_expr;
|
|
pub use crate::evaluate::scope::Scope;
|
|
pub use crate::evaluation_context::EvaluationContext;
|
|
pub use crate::example::Example;
|
|
pub use crate::filesystem::dir_info::{DirBuilder, DirInfo, FileInfo};
|
|
pub use crate::filesystem::filesystem_shell::FilesystemShell;
|
|
pub use crate::filesystem::path;
|
|
pub use crate::maybe_text_codec::{MaybeTextCodec, StringOrBinary};
|
|
pub use crate::print::maybe_print_errors;
|
|
pub use crate::runnable_context::RunnableContext;
|
|
pub use crate::shell::help_shell::{command_dict, HelpShell};
|
|
pub use crate::shell::painter::Painter;
|
|
pub use crate::shell::palette::{DefaultPalette, Palette};
|
|
pub use crate::shell::shell_manager::ShellManager;
|
|
pub use crate::shell::value_shell::ValueShell;
|
|
pub use crate::whole_stream_command::{whole_stream_command, Command, WholeStreamCommand};
|