ishell icon indicating copy to clipboard operation
ishell copied to clipboard

Subshell or previous context save

Open vit1251 opened this issue 4 years ago • 1 comments

Example usage:

>>> show
show>>> tables
show / tables >>> ..
show >>> ..
>>> quit

vit1251 avatar Jun 21 '21 11:06 vit1251

I'd like to be able to do this as well. if entering a subcommand leave the context there, don't return to the top level context. I suspect this needs to be a new AddCmdFolder or a flag in the cmdcontext marking this as desirable behaviour to keep from breaking the existing behaviour.

 >>> help
 a
 b
 c
 >>> a
 does "a" something
 >>> c
 changes context and stays in "c". Prompt preceded by name of current context.
 c >>>  help
 d
 e
 ..
 c >>> e
 does "e" something, does not execute a + e Func, only "e" func.
 c >>>  ..
 >>> help
 a
 b
 c

mike-pittelko avatar Sep 01 '21 21:09 mike-pittelko