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

Add --json parameter to teslacmd which makes command output in json format #133

Merged
merged 2 commits into from Apr 7, 2020

Conversation

kler
Copy link

@kler kler commented Oct 31, 2018

With json output single values are easy to parse on command line, using for instance jq.

Example:

teslacmd --id XXXXXXXXXXXX -i --json | jq '.in_service'
false

@hjespers
Copy link
Owner

hjespers commented Apr 5, 2020

Useful addition. Thanks your for the PR and sorry it took me so long to accept your pull request.

@hjespers hjespers closed this Apr 5, 2020
@kler
Copy link
Author

kler commented Apr 6, 2020

Hmm, I think you didn't accept the PR though, but just closed it instead.

@hjespers hjespers reopened this Apr 7, 2020
@hjespers hjespers merged commit 552068f into hjespers:master Apr 7, 2020
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

Successfully merging this pull request may close these issues.

None yet

3 participants