DevRev CLI reference

The following is a list of DevRev CLI commands:

CLI version

Check the version of CLI:

$devrev --version

CLI help

To check all the available commands, run the following command:

$devrev --help

Use devrev [command] --help for more information about a command.

Authentication

Snap-in package

Snap-in version

Snap-in

Snap-in context

The CLI persists in the context of the CLI in a snap-in context. The context is used to store the following information per snap-in package slug:

  1. The ID of the snap-in package owning the slug.
  2. The ID of the last created/upgraded snap-in version, if any.
  3. The ID of the latest deployed snap-in, if any.