Skip to content
This repository has been archived by the owner on Dec 24, 2021. It is now read-only.

Gracefully handle full command reinput during prompting #200

Open
Gawdl3y opened this issue Sep 26, 2018 · 4 comments
Open

Gracefully handle full command reinput during prompting #200

Gawdl3y opened this issue Sep 26, 2018 · 4 comments
Projects

Comments

@Gawdl3y
Copy link
Member

Gawdl3y commented Sep 26, 2018

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 Gawdl3y added this to To do in Important stuff Sep 26, 2018
@Gawdl3y Gawdl3y removed this from To do in Important stuff Sep 26, 2018
@Gawdl3y Gawdl3y added this to To do in Polish Sep 26, 2018
@brandonbothell
Copy link
Contributor

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

@Gawdl3y
Copy link
Member Author

Gawdl3y commented Dec 8, 2018

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

@jonahsnider
Copy link
Contributor

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.

@Gawdl3y
Copy link
Member Author

Gawdl3y commented Dec 11, 2018

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Polish
  
To do
Development

No branches or pull requests

3 participants