-
Notifications
You must be signed in to change notification settings - Fork 445
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
Manage webhooks from the CLI #8242
Comments
I am just noticing there is an enabled/disabled status attached to the webhooks that is toggleable in-browser, so we should we should be able to control that via CLI commands. |
I noticed that the
While other commands like
Questions
|
Hi @mtilda ! I think these are valuable suggestions to add to our CLI To answer some of your other questions:
|
Is your feature request related to a problem? Please describe.
I am looking for an easy way to work around the problem described in #8241. Currently my method is to manually modify or destroy/recreate the webhook from inside the browser. This is slow and tedious.
Describe the solution you'd like
I would like to be able to disable and re-enable webhooks, like this:
An alternative way to provide this functionality would be to add the ability to export and import a webhook config. The process of "disabling" and "re-enabling" a webhook could then look like this:
The export/import functionality would also be useful for copying webhook configurations across projects.
Additional context
In investigating this, I noticed the existing command
sanity hook create
actually opens a webpage in my browser. Is there a reason the CLI cannot create and update webhooks?Are any of these features planned?
The text was updated successfully, but these errors were encountered: