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

Fix CLI usage with no pre-set context/config #420

Closed tstirrat15 closed 2 months ago

tstirrat15 commented 2 months ago

Description

In #417 we introduced a bug where zed became unusable if there wasn't previously a context set by the user. This wasn't intentional; it should be valid to invoke zed entirely from the command line in isolation. This PR captures that behavior in a unit test and fixes the behavior.

Changes

tstirrat15 commented 2 months ago

Follow-on work around code organization can happen in the context of #421.