Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register common flags with helper #2074

Merged
merged 2 commits into from
Sep 23, 2024
Merged

Register common flags with helper #2074

merged 2 commits into from
Sep 23, 2024

Conversation

tstirrat15
Copy link
Contributor

Description

We missed registering the common flags on a handful of the datastore commands. This fixes that and also centralizes the registration logic into a single helper function.

Changes

  • Add util to register common flags
  • Use that util where needed

Testing

Review. See that ./spicedb head works (among others).

@tstirrat15 tstirrat15 requested a review from a team as a code owner September 23, 2024 20:26
@github-actions github-actions bot added the area/CLI Affects the command line label Sep 23, 2024
@tstirrat15 tstirrat15 added this pull request to the merge queue Sep 23, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 23, 2024
@tstirrat15 tstirrat15 added this pull request to the merge queue Sep 23, 2024
Merged via the queue into main with commit c0ba134 Sep 23, 2024
22 checks passed
@tstirrat15 tstirrat15 deleted the register-common-flags branch September 23, 2024 22:03
@github-actions github-actions bot locked and limited conversation to collaborators Sep 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/CLI Affects the command line
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants