I am working on a command line application based on Vorpal.
Is there a way to allow (and list in the help) commands depending on a context.
For instance I might want to have the possibility to execute commands A and B on context 1 and commands C and D on context 2. I would then have a command to switch context which should always be valid.
I am working on a command line application based on Vorpal.
Is there a way to allow (and list in the help) commands depending on a context.
For instance I might want to have the possibility to execute commands A and B on context 1 and commands C and D on context 2. I would then have a command to switch context which should always be valid.