@usecannon/cli
v2.26.0
Published
Utility for instantly loading cannon packages in standalone contexts
Readme
Cannon Command Line Interface
Install the CLI
Use npm to install the CLI:
npm i -g @usecannon/cliRun a Package
Run a package from the registry:
cannon greeterRun 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:
pnpm run test-e2eNote: if you're using MacOS, you will need to install parallel before running the E2E tests: https://www.gnu.org/software/parallel/
Setup to Build
To deploy protocols and create your own packages (i.e. build Cannonfiles), first run the setup command:
cannon setupSee the website for the Getting Started guide, documentation, and more.
