Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@asyncapi/cli

Package Overview
Dependencies
Maintainers
3
Versions
400
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@asyncapi/cli

AsyncAPI CLI CLI to work with your

  • 0.3.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
22K
increased by11.71%
Maintainers
3
Weekly downloads
 
Created
Source

AsyncAPI logo
AsyncAPI CLI

CLI to work with your AsyncAPI files. Currently supports validation, but it is under development for more features.

Install

$ npm install --global @asyncapi/cli

CLI

$ asyncapi --help

Usage
  $ asyncapi command options
  
Commands
  validate 
   Options
     -c --context  context-name saved in the store
     -w --watch Enable watchMode (not implemented yet)
     -f --file File path of the specification file
  
  context
    current show the current set context
    list show the list of all stored contexts
    remove <context-name> remove a context from the store
    use <context-name> set any context from store as current
    add <context-name> <filepath> add/update new context

Examples
  $ asyncapi context add dummy ./asyncapi.yml
  $ asyncapi validate --context=dummy
  $ asyncapi validate --file=./asyncapi.yml

For now --context flag is requried to run validate command

FAQs

Package last updated on 19 Jul 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