Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing --json option in khal list #1344

Open
huantrinh1802 opened this issue Apr 6, 2024 · 1 comment
Open

Missing --json option in khal list #1344

huantrinh1802 opened this issue Apr 6, 2024 · 1 comment

Comments

@huantrinh1802
Copy link

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:

  • Run khal list --json title

Expected behavior

  • Able to use --json option

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

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

  • The output of khal --version: khal, version 0.11.3
  • Installation method brew install khal
  • python version: I have multiple but the default is currently 3.11.7
  • OS: MacOS 14.4.1
  • Your khal config file:
[calendars]

[[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
Copy link

00dani commented Jun 25, 2024

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. 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants