Skip to content

Doover CLI Overview

The Doover CLI (doover-cli) is the official command-line interface for interacting with the Doover IoT platform. It provides tools for application development, deployment, device management, and platform interaction from your terminal.

What is Doover CLI?

Doover CLI is a comprehensive tool that enables developers to:

  • Create applications - Scaffold new Doover applications from templates
  • Build and deploy - Build Docker images and publish applications to the Doover platform
  • Manage channels - Create, publish to, and subscribe to Doover channels
  • Access devices remotely - Open SSH tunnels to remote devices
  • Generate reports - Compose reports from agent data
  • Manage configuration - Export, validate, and generate configuration schemas

Installation

Doover CLI can be installed using several methods:

Using uv (Recommended)

uv tool install doover-cli

Using pipx

pipx install doover-cli

Using pip

pip install doover-cli

Debian Package

For Debian-based systems, a .deb package is available. Contact Doover support for the latest package version.

Basic Usage

After installation, the CLI is available via the doover command:

doover <command> [options]

Global Options

OptionDescription
--debugEnable debug output, including detailed error messages
--jsonOutput results in JSON format
--versionDisplay the CLI version
--helpShow help information

Check Version

doover --version

Available Commands

The Doover CLI provides the following command groups:

CommandDescription
appManage applications and their configurations
channelManage channels and their configurations
agentManage agents and their configurations
tunnelManage SSH tunnels for remote access
config-schemaManage application config schemas
reportGenerate and manage reports
grpcInteract with running gRPC servers
simulatorManage simulators and their configurations
doover-configManage doover configuration files
dda-logsConvert DDA message logs to JSON
loginAuthenticate with the Doover platform
configure-tokenConfigure token-based authentication

Getting Help

To see help for any command:

doover --help
doover app --help
doover app create --help

Relationship to pydoover

The Doover CLI is built on top of the pydoover Python library. While pydoover provides programmatic access to the Doover platform through Python code, doover-cli offers a convenient command-line interface for common operations.

Key integration points:

  • ConfigManager - The CLI uses pydoover's ConfigManager for storing authentication credentials and profiles
  • Cloud API - All platform interactions go through pydoover's cloud API client
  • Channel Operations - Channel management uses pydoover's channel classes (Task, Processor, Message)

If you need more advanced programmatic control, you can use the pydoover library directly in your Python code while using the CLI for routine operations.

Quick Start

  1. Install the CLI:

    uv tool install doover-cli
    
  2. Authenticate:

    doover login
    
  3. Create a new application:

    doover app create
    
  4. Build and run locally:

    cd your-app-name
    doover app build
    doover app run
    
  5. Publish to Doover:

    doover app publish
    

Next Steps