-
-
Notifications
You must be signed in to change notification settings - Fork 154
Open
Description
Let's say you have a rootMenu and a printMenu, I think it's weird to allow the user to enter a sub menu just for printing.
I would just like to add multiple commands to the same printMenu for a cleaner code instead of adding commands like print a, print b
The sub menu can be inherited from Menu, and when you type help for example it'd look like that:
Commands available:
- help
This help message
- exit
Quit the session
- print
A custom menu message if exists
- a
This prints a
- b
This prints b
writing just print into the main Menu can result in printing an error / the sub menu help function
Metadata
Metadata
Assignees
Labels
No labels