authzed / zed

Official command-line tool for managing SpiceDB
https://authzed.com/docs/reference/clients
Apache License 2.0
118 stars 26 forks source link

Add init that sets up logging for exceptional cases #405

Closed tstirrat15 closed 3 months ago

tstirrat15 commented 3 months ago

Fixes #368

Description

See #368. For error cases that were about missing commands or invalid argument sets, the logic that set up zerolog was never invoked, which meant that the output was a JSON blob instead of the prettily-formatted zerolog output. This makes the output more visually consistent.

Changes

github-actions[bot] commented 3 months ago

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

tstirrat15 commented 3 months ago

I have read the CLA Document and I hereby sign the CLA