holochain / scaffolding

Scaffolding tool to quickly generate and modify holochain applications
https://docs.rs/holochain_scaffolding_cli
220 stars 19 forks source link

feat: Where possible, try to re-prompt the the user on invalid inputs rather than exiting the program #387

Closed c12i closed 1 month ago

c12i commented 1 month ago

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.