-
Notifications
You must be signed in to change notification settings - Fork 14
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
JSON format #4
Comments
Hi,
I'm not sure if i want to implement the JSON output with these 'compromises'. |
Hi and sorry for this late reply. Usually, I use jq to parse API calls outputs to filter results. That's why I wondered if it should easy to implement, but it seems it is not :/ As an example, I created a docker image for go-passbolt-cli, and added some wrappers to easily fetch what I want. As an example, to get a password per resource name and username, I use this wrapper:
I totally understand it can be a non-trivial task and you can close this issue. I already played a bit with golang, and I quickly switched back to python to manipulate json. It was easier for me 😆 |
Hi, i think JSON output is useful in allot of cases as using jq is much easier than combining grep, awk, sed, head and friends to parse Output. For the Issues With adding JSON output:
As such i think the few hours of effort implementing this would be well spent since it makes such a big difference with ease of parsing and the Issues can be properly worked around. |
Hi, Cheers |
Yes, i am planning to get around to it SoonTM. |
@speatzle I can try to help you on that, is there any setup I should do before trying anything ? |
@AlexandreMarcq you just need to clone the repository and have a Passbolt Instance. |
Any news on the PR? Being able to produce easily parsable json output would be really welcome. |
Since there hasn't been any activity on the PR in a long time by @AlexandreMarcq ill see if I can fix it up and merge it soon |
This got Implemented by #20. |
Released in v0.2.0 |
Hi !
thanks for this awesome tool ! Do you plan to propose json format as output ? It will be easier to parse.
Thanks 😽
The text was updated successfully, but these errors were encountered: