Move the history and tutor commands out of core_commands (#5813)

* move history and tutor commands from core to misc

* add in the Misc Category for the history and tutor commands
This commit is contained in:
Michael Angerman
2022-06-16 09:58:38 -07:00
committed by GitHub
parent 28c07a5072
commit bc48b4553c
7 changed files with 17 additions and 8 deletions

View File

@ -48,7 +48,6 @@ pub fn create_default_context(cwd: impl AsRef<Path>) -> EngineState {
For,
Help,
Hide,
History,
If,
Ignore,
Overlay,
@ -60,7 +59,6 @@ pub fn create_default_context(cwd: impl AsRef<Path>) -> EngineState {
Metadata,
Module,
Source,
Tutor,
Use,
Version,
};
@ -134,6 +132,12 @@ pub fn create_default_context(cwd: impl AsRef<Path>) -> EngineState {
Zip,
};
// Misc
bind_command! {
History,
Tutor,
};
// Path
bind_command! {
Path,