@usecannon/cli
TypeScript icon, indicating that this package has built-in type declarations

2.13.0 • Public • Published

Cannon Command Line Interface

Install the CLI

Use npm to install the CLI:

npm i -g @usecannon/cli

Run a Package

Run a package from the registry:

cannon greeter

Run E2E Tests

We use bats as our main testing infrastructure for end-to-end tests. To run the e2e suite, just run the following command in your terminal:

npm run test-e2e

Setup to Build

To deploy protocols and create your own packages (i.e. build Cannonfiles), first run the setup command:

cannon setup

See the website for the Getting Started guide, documentation, and more.

Package Sidebar

Install

npm i @usecannon/cli

Weekly Downloads

3,909

Version

2.13.0

License

MIT

Unpacked Size

949 kB

Total Files

239

Last publish

Collaborators

  • saetaeth
  • fuzzb0t
  • noahlitvin
  • klbyte
  • mjlescano