Commando icon indicating copy to clipboard operation
Commando copied to clipboard

Gracefully handle full command reinput during prompting

Open Gawdl3y opened this issue 7 years ago • 4 comments

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.

Gawdl3y avatar Sep 26 '18 04:09 Gawdl3y

Should it allow the full command with only some required arguments to be entered, or just the full command with all required arguments?

brandonbothell avatar Dec 05 '18 11:12 brandonbothell

It should essentially behave as a fresh input of the command, starting over. Maybe even support using a different command?

Gawdl3y avatar Dec 08 '18 16:12 Gawdl3y

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.

jonahsnider avatar Dec 11 '18 04:12 jonahsnider

No, the point is to avoid such an error message.

Gawdl3y avatar Dec 11 '18 14:12 Gawdl3y