pimutils / khal

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

Missing --json option in khal list #1344

Open huantrinh1802 opened 3 months ago

huantrinh1802 commented 3 months ago

Describe the bug Try to use option --json but the returned error said Error: No such option: --json Did you mean --once?

If applicable: Stack Trace Above

To Reproduce Steps to reproduce the behavior:

Expected behavior

Screenshots Screenshot 2024-04-06 at 6 58 07 PM

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

[[personal]] path = PATH_TO_MY_FILE type = calendar

[locale] timeformat = %H:%M dateformat = %Y-%m-%d longdateformat = %Y-%m-%d datetimeformat = %Y-%m-%d %H:%M longdatetimeformat = %Y-%m-%d %H:%M

[default] default_calendar = personal


 - The versions of your other python packages: empty
00dani commented 1 week ago

Can confirm the same thing happens with pipx install khal as well. I dug into the source, and it looks like the JSON formatter feature hasn't been merged into Khal 0.11.x at all- it's only available on the development branch. 🤔