pimutils / khal

:calendar: CLI calendar application
https://lostpackets.de/khal/
MIT License
2.54k stars 197 forks source link

`khal new -i` is too unforgiving when mistakes are made #1341

Open WhyNotHugo opened 4 months ago

WhyNotHugo commented 4 months ago

To Reproduce

khal new -i
calendar: personal    
summary: an event created via khal new -i
datetime range: 3d
critical: Could not parse "3d".
critical: Please check your configuration or run `khal printformats` to see if this does match your configured [long](date|time|datetime)format.
critical: If you suspect a bug, please file an issue at https://github.com/pimutils/khal/issues/ 

Actual behavior If any mistake, the creation process must start from scratch, providing again every valid field.

Expected behavior khal should just prompt over and over until it gets SIGINT, or maybe escape, or enter on empty input.

If applicable: Stack Trace n / a

OS, version, khal version and how you installed it: