rapiddisk
rapiddisk copied to clipboard
[feature request] please output structured JSON
feature request
Insane of web-style JSON format, please use a parseable one. I would be interested in the reasons why you use such a notation for a CLI tool.
example
rapiddisk -a 20000 -j
current
{
"status": "Success",
"message": "Attached device rd0 of size 20000 Mbytes."
}
expected
{
"status": "success",
"attached device": "rd0",
"size": 20000000
}
And maybe also expose the device's location in dev-mapper...
/dev/disk/by-id/dm-name-rc-wt_XXXXX
/dev/dm-XXXXX
Insane of web-style JSON format, please use a parseable one. I would be interested in the reasons why you use such a notation for a CLI tool.
@tobwen Can you give me some link to/clues about the format you consider best suited?