opinionated per-resource human tables #5
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The generic JSON-to-table renderer in
crates/unifi-cli/src/output/human.rsunions all keys, which is noisy for resource-shaped responses. Add curated column sets per resource (e.g. sites: name+id+role; devices: name+model+ip+state; clients: name+mac+ip+last_seen; networks: name+vlan+subnet). Keep the generic renderer as the fallback.Implemented in
f160869: output::tables registry with shape-detection by signature fields; curated column lists for devices/clients/sites/networks/wifi/acl/firewall/zones/vouchers/tags. List envelopes unwrap to data rows + totalCount footer; nested values rendered as /[N].