HewlettPackard / python-redfish-utility

Python-based utility for interacting with devices supporting a Redfish Service
Other
86 stars 41 forks source link

Enhancement: Provide a --silent optional arg to commands with a JSON output #75

Closed donzef closed 1 year ago

donzef commented 1 year ago

Some commands like the rawget command write on stdin some messages (i.e. The command completed successfully ). Those kind of messages corrupt the JSON output that cannot be parsed by programs like jq .

image

rajeevkallur commented 1 year ago

Fixed! Please use it as below. ilorest --nologo rawget /redfish/v1/managers/1 --silent