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

2.14.2 • 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.

/@usecannon/cli/

    Package Sidebar

    Install

    npm i @usecannon/cli

    Weekly Downloads

    5,417

    Version

    2.14.2

    License

    MIT

    Unpacked Size

    1.01 MB

    Total Files

    249

    Last publish

    Collaborators

    • saetaeth
    • fuzzb0t
    • noahlitvin
    • klbyte
    • mjlescano