Remove unused help shell. Slight cleanup and improvement. (#3258)

This commit is contained in:
Andrés N. Robalino
2021-04-03 18:56:46 -05:00
committed by GitHub
parent 28e1a7915d
commit 1c941557c3
14 changed files with 97 additions and 368 deletions

View File

@ -18,8 +18,6 @@ pub enum CommandAction {
AutoConvert(Value, String),
/// Enter a value shell, one that allows exploring inside of a Value
EnterValueShell(Value),
/// Enter the help shell, which allows exploring the help system
EnterHelpShell(Value),
/// Add plugins from path given
AddPlugins(String),
/// Unload the config specified by PathBuf if present
@ -50,7 +48,6 @@ impl PrettyDebug for CommandAction {
DbgDocBldr::typed("enter shell", DbgDocBldr::description(s))
}
CommandAction::EnterValueShell(v) => DbgDocBldr::typed("enter value shell", v.pretty()),
CommandAction::EnterHelpShell(v) => DbgDocBldr::typed("enter help shell", v.pretty()),
CommandAction::AddPlugins(..) => DbgDocBldr::description("add plugins"),
CommandAction::PreviousShell => DbgDocBldr::description("previous shell"),
CommandAction::NextShell => DbgDocBldr::description("next shell"),