At the moment, when a user inputs an invalid string into a prompt, the program exits, causing them to start over the command all over again. Rather than doing this, we can provide a better DX by continuing to prompt for valid input incase of a validation error until a valid one is provided.
At the moment, when a user inputs an invalid string into a prompt, the program exits, causing them to start over the command all over again. Rather than doing this, we can provide a better DX by continuing to prompt for valid input incase of a validation error until a valid one is provided.