New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cli-plugin-webhooks

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cli-plugin-webhooks

Commerce Layer CLI Webhooks plugin

  • 0.0.1
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

cli-plugin-webhooks

Commerce Layer CLI Webhooks plugin

oclif Version Downloads/week License

Usage

$ cl-webhooks COMMAND

$ cl-webhooks (-v | version | --version) to check the version of the CLI you have installed.

$ cl-webhooks [COMMAND] (--help | -h) for detailed information about CLI commands.

Commands

cl-webhooks webhooks

List all the registered webhooks.

USAGE
  $ cl-webhooks webhooks

OPTIONS
  -c, --circuit=open|closed        show only webhooks with circuit in the decalred state
  -o, --organization=organization  (required) the slug of your organization

See code: src/commands/webhooks/index.ts

cl-webhooks webhooks:create

Create a new webhook.

USAGE
  $ cl-webhooks webhooks:create

OPTIONS
  -i, --include=include            a comma separated list of related resources to be included
  -o, --organization=organization  (required) the slug of your organization
  -t, --topic=topic                (required) the identifier of the event that will trigger the webhook
  -u, --url=url                    (required) the callback URL used to POST data

See code: src/commands/webhooks/create.ts

cl-webhooks webhooks:destroy ID

Destroy an existing webhook.

USAGE
  $ cl-webhooks webhooks:destroy ID

ARGUMENTS
  ID  unique id of the webhook

OPTIONS
  -o, --organization=organization  (required) the slug of your organization

ALIASES
  $ cl-webhooks webhooks:delete
  $ cl-webhooks wh:delete
  $ cl-webhooks wh:destroy

See code: src/commands/webhooks/destroy.ts

cl-webhooks webhooks:details ID

Show the details of an existing webhook.

USAGE
  $ cl-webhooks webhooks:details ID

ARGUMENTS
  ID  unique id of the webhook

OPTIONS
  -H, --hide-empty                 hide empty attributes
  -o, --organization=organization  (required) the slug of your organization

ALIASES
  $ cl-webhooks webhook
  $ cl-webhooks wh:details

See code: src/commands/webhooks/details.ts

cl-webhooks webhooks:list

List all the registered webhooks.

USAGE
  $ cl-webhooks webhooks:list

OPTIONS
  -c, --circuit=open|closed        show only webhooks with circuit in the decalred state
  -o, --organization=organization  (required) the slug of your organization

ALIASES
  $ cl-webhooks wh:list

EXAMPLES
  $ commercelayer webhooks
  $ cl webhooks:list
  $ cl wh:list

See code: src/commands/webhooks/list.ts

cl-webhooks webhooks:reset ID

Reset the circuit breaker associated to the webhook.

USAGE
  $ cl-webhooks webhooks:reset ID

ARGUMENTS
  ID  unique id of the webhook

OPTIONS
  -o, --organization=organization  (required) the slug of your organization

See code: src/commands/webhooks/reset.ts

cl-webhooks webhooks:update ID

Create a new webhook.

USAGE
  $ cl-webhooks webhooks:update ID

ARGUMENTS
  ID  unique id of the webhook

OPTIONS
  -i, --include=include            a comma separated list of related resources to be included
  -o, --organization=organization  (required) the slug of your organization
  -t, --topic=topic                the identifier of the event that will trigger the webhook
  -u, --url=url                    the callback URL used to POST data

See code: src/commands/webhooks/update.ts

Keywords

FAQs

Package last updated on 09 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc