Commando
Commando copied to clipboard
Gracefully handle full command reinput during prompting
When a user reenters the full command w/ arguments while the framework is prompting for arguments, it should gracefully re-parse and start over from the beginning with the new input.
Should it allow the full command with only some required arguments to be entered, or just the full command with all required arguments?
It should essentially behave as a fresh input of the command, starting over. Maybe even support using a different command?
At this point, isn't that just cancelling the command with an error message ("you provided incorrect arg type...")? Especially if it's accepting a whole new command.
No, the point is to avoid such an error message.