-
Notifications
You must be signed in to change notification settings - Fork 712
Pr json support for show platform temperature #3874
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
base: master
Are you sure you want to change the base?
Pr json support for show platform temperature #3874
Conversation
Added json support for platform temperature
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds JSON support to the "show platform temperature" command, allowing users to output temperature data in JSON format.
- Added a '--json' option to the click-based command in show/platform.py.
- Updated scripts/tempershow to handle a JSON flag via argparse and output JSON-formatted data.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
show/platform.py | Added '--json' click option and updated the command to include the JSON flag. |
scripts/tempershow | Integrated argparse support for JSON output and modified output handling. |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Work json support platform temp
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Thanks
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Work json support platform temp
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
fixes for unit test
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
What I did
Added json support for
show platform temperature
How I did it
How to verify it
Previous command output (if the output of a command-line utility has changed)
New command output (if the output of a command-line utility has changed)