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
[csolution] Add flag on list
commands (e.g. --json
) to obtain data in a machine readable format
#1159
Comments
I think this is a duplicate of #1158 (or is this a clarification of the request) |
list
commands (e.g. --json
) to obtain data in a machine readable format
These are two independent change requests:
This issue requests the output to be machine readable e.g. in json format assuming a
|
The JSON would be more machine readable if a key value format was used, e.g. [
{
"Vendor":"STMicroelectronics",
"Name":"STM32U5A9VJTxQ",
"Pack":{
"Vendor":"Keil",
"Name":"STM32U5xx_DFP",
"Version":"2.1.0"
}
},
{
"Vendor":"STMicroelectronics",
"Name":"STM32F407IGHx",
"Pack":{
"Vendor":"Keil",
"Name":"STM32F4xx_DFP",
"Version":"2.7.0"
}
}
] |
I wonder if this approach does not duplicate the content of the Build Information Files. Which problem are we trying to address here? |
There are two problems that we are trying to solve:
|
We believe the answer is in #1177 |
The output of the listing commands or the commands returning information about the csolution will be used by machine processes to retrieve information about the csolution projects in an abstracted and robust way. Therefore, having the output defined in a machine readable format would greatly improve the robustness of the parsing process.
The format could be
json
and the flag--json
but could also be any other machine readable format which are considered more suitable.The text was updated successfully, but these errors were encountered: