@stoplight/cli
Usage
# Install the Stoplight CLI
npm install -g @stoplight/cli
# Output a list of commands
stoplight -h
# Output the version number
stoplight -v
# Analyze the current directory
stoplight analyze --token xxx --api-host https://stoplight.io/api
Development
# Build the CLI commands
yarn build
# Re-install the CLI globally
npm rm -g && npm i -g
Support
If you have a bug or feature request, please create an issue.
If you need help using the CLI or have a support question, please use the Stoplight Community forum.
If you want to discuss something in private, you can reach out to Stoplight support at support@stoplight.io.