-
Notifications
You must be signed in to change notification settings - Fork 31
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
more verbose json output #25
Comments
Yeah, refactoring the different output formats is definitely a good thing to work on. I suggest the following interface:
What do you think? |
@fnogatz lgtm! |
RFC @substack |
I am working on some pinning tests to support the refactoring. I could share them with you soon. |
Thanks for working on some tests at chmanie/clocker, @chmanie! My favorite approach would be:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#22 added csv output, which is great! additionally we have the
data
option which outputs json, but this is squashed to days to be compatible with invoicer.I'd like to have the verbose list / csv output formatted as json.
To simplify the api I'd propose a flag for the
list
command either like thisclocker list --output=json / --output=csv
, (or--json
/--csv
) because right now thecsv
command basically just reformats thelist
output. Maybe we could alias thecsv
command to not break the api?I'd also happily start working on a PR for that. Let me know what you think.
The text was updated successfully, but these errors were encountered: