Sign inSign up

asyncapi/github-action-for-cli

By asyncapi

•Updated 14 days ago

Github action for AsyncAPI CLI

Image
0

100K+

asyncapi/github-action-for-cli repository overview

AsyncAPI CLI

CLI to work with your AsyncAPI files. Currently under development, we are working to bring more features.

GitHub license PR testing - if Node project npm

⁠Table of contents

⁠Installation

Learn how to install the AsyncAPI CLI by following the instructions in the installation guide⁠.

⁠Usage

The usage guide⁠ provides information about different ways to use the CLI.

⁠Architecture

The architecture guide⁠ provides information about the architecture.

⁠Debugging & Testing

The debugging & testing guide⁠ provides step-by-step instructions for debugging CLI commands, API endpoints, and services, along with comprehensive testing guidelines.

⁠Github Action

The AsyncAPI CLI can be used as a GitHub Action. You can find more information in the GitHub Action guide⁠.

⁠Contributing

Read CONTRIBUTING⁠ guide.

⁠Set up development environment

Read DEVELOPMENT.md⁠ file for development setup.

Additional steps:

  • Run npm run test to make sure everything is properly set up
  • Run npm run build and then bin/run to try new CLI locally

This repository is an npm-workspaces + Turbo monorepo. The root package is @asyncapi/cli (workspaces include "." so Changesets still versions it like today), and @asyncapi/optimizer lives in packages/optimizer/⁠ (published separately to npm). Use npm run optimizer:build and npm run optimizer:test to work on that package. See its spec⁠.

The UX developed for the CLI should comply with the Command Line Interface Guideline⁠

⁠Command Structure and Patterns

We are following verb + noun and namespace + noun + [verb] pattern for making our commands and arguments. For example asyncapi validate <spec-file-path> and asyncapi config context add <context-name> <spec-file-path>.

⁠Contributors

Thanks go to these wonderful people (emoji key⁠):

This project follows the all-contributors⁠ specification. Contributions of any kind welcome!

Tag summary

Content type

Image

Digest

sha256:aa827a278…

Size

210 MB

Last updated

14 days ago

docker pull asyncapi/github-action-for-cli