Skip to content

chore: add audience to --resource-type flag options#803

Merged
thomaswhyyou merged 1 commit into
mainfrom
thomas-kno-13272-cli-add-audience-to-resource-type-flag-options
Jun 5, 2026
Merged

chore: add audience to --resource-type flag options#803
thomaswhyyou merged 1 commit into
mainfrom
thomas-kno-13272-cli-add-audience-to-resource-type-flag-options

Conversation

@thomaswhyyou

@thomaswhyyou thomaswhyyou commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Description

Accept "audience" for --resource-type flag in the commit index and commit list commands.

It is already accepted in the backend: https://github.com/knocklabs/control/blob/373f869d90038743de6f83757726ac9562652e7a/backend/lib/control/marshal/schemas/commit/commit_schema.ex#L10-L18

@linear-code

linear-code Bot commented Jun 4, 2026

Copy link
Copy Markdown

KNO-13272

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@thomaswhyyou thomaswhyyou changed the title add audience to --resource-type flag options chore: add audience to --resource-type flag options Jun 4, 2026
"translation",
"workflow",
],
options: ALL_RESOURCE_TYPES,

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ALL_RESOURCE_TYPES includes the "audience" type.

@thomaswhyyou

Copy link
Copy Markdown
Contributor Author

@cursor review

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 66ecbdb. Configure here.

@thomaswhyyou thomaswhyyou marked this pull request as ready for review June 4, 2026 20:27
@thomaswhyyou thomaswhyyou requested a review from cjbell June 4, 2026 20:27
@thomaswhyyou thomaswhyyou force-pushed the thomas-kno-13272-cli-add-audience-to-resource-type-flag-options branch from 66ecbdb to d2d40df Compare June 4, 2026 20:39
@thomaswhyyou thomaswhyyou force-pushed the thomas-kno-13272-cli-add-audience-to-resource-type-flag-options branch from d2d40df to fb3ea50 Compare June 4, 2026 21:33
@thomaswhyyou thomaswhyyou merged commit cb592ca into main Jun 5, 2026
9 checks passed
@thomaswhyyou thomaswhyyou deleted the thomas-kno-13272-cli-add-audience-to-resource-type-flag-options branch June 5, 2026 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants