It seems that if you call any quix ... list --output json function, it will return an array of objects in every case except when there's one result. For a single result it unwraps the array and returns an object.
That inconsistency makes it harder to use the JSON output in tools without additional checking. I'd like it if the output for a quix ... list command was always an array, regardless of the number of elements.
It seems that if you call any
quix ... list --output json
function, it will return an array of objects in every case except when there's one result. For a single result it unwraps the array and returns an object.That inconsistency makes it harder to use the JSON output in tools without additional checking. I'd like it if the output for a
quix ... list
command was always an array, regardless of the number of elements.