forked from extern/nushell
REFACTOR: move source
out of deprecated commands (#9060)
# Description the plan of deprecating `source` never really came to conclusion, so i propose to move it out of the deprecated commands in this PR. i've moved it to `nu-command::misc`, which can be changed 👍 # User-Facing Changes ``` $nothing ``` # Tests + Formatting - 🟢 `toolkit fmt` - 🟢 `toolkit clippy` - ⚫ `toolkit test` - ⚫ `toolkit test stdlib` # After Submitting ``` $nothing ```
This commit is contained in:
parent
1019acb7a3
commit
6bbe5b6255
@ -103,6 +103,7 @@ pub fn create_default_context() -> EngineState {
|
||||
|
||||
// Misc
|
||||
bind_command! {
|
||||
Source,
|
||||
Tutor,
|
||||
};
|
||||
|
||||
@ -443,7 +444,6 @@ pub fn create_default_context() -> EngineState {
|
||||
MathEvalDeprecated,
|
||||
OldAlias,
|
||||
RPadDeprecated,
|
||||
Source,
|
||||
StrCollectDeprecated,
|
||||
StrDatetimeDeprecated,
|
||||
StrDecimalDeprecated,
|
||||
|
@ -6,7 +6,6 @@ mod lpad;
|
||||
mod math_eval;
|
||||
mod old_alias;
|
||||
mod rpad;
|
||||
mod source;
|
||||
mod str_datetime;
|
||||
mod str_decimal;
|
||||
mod str_find_replace;
|
||||
@ -20,7 +19,6 @@ pub use lpad::LPadDeprecated;
|
||||
pub use math_eval::SubCommand as MathEvalDeprecated;
|
||||
pub use old_alias::OldAlias;
|
||||
pub use rpad::RPadDeprecated;
|
||||
pub use source::Source;
|
||||
pub use str_datetime::StrDatetimeDeprecated;
|
||||
pub use str_decimal::StrDecimalDeprecated;
|
||||
pub use str_find_replace::StrFindReplaceDeprecated;
|
||||
|
@ -1,3 +1,5 @@
|
||||
mod source;
|
||||
mod tutor;
|
||||
|
||||
pub use source::Source;
|
||||
pub use tutor::Tutor;
|
||||
|
Loading…
Reference in New Issue
Block a user