Eventvisor

Advanced

Command Line Interface (CLI)

Eventvisor CLI is a command line tool for managing your Eventvisor projects.

Installation

Use npx to initialize a project first:

$ mkdir my-project && cd my-project
$ npx @eventvisor/cli init

If you wish to initialize a specific example as available in the monorepo:

$ npx @eventvisor/cli init --project=json

You can now proceed to install the dependencies in the project:

$ npm install

You can access the Eventvisor CLI from inside the project via:

$ npx eventvisor

Learn more in quick start page.

Linting

Check if the definition files have any syntax or structural errors:

$ npx eventvisor lint

Lear more in linting page.

Building datafiles

Generate JSON files on a per tag basis as exists in project configuration:

$ npx eventvisor build

Learn more in building datafiles page.

Testing

Test your entities like events, attributes, destinations, and effects:

$ npx eventvisor test

Learn more in testing page.

Configuration

To view the project configuration:

$ npx eventvisor config

Printing configuration as JSON:

$ npx eventvisor config --json --pretty

Version

Get the current version number of Eventvisor CLI, and its relevant packages:

$ npx eventvisor --version

Or do:

$ npx eventvisor -v
Previous
React Native