Skip to main content

CLI options

The CLI in depths.cli.cli manages a local OTLP/HTTP server (depths.cli.app:app) and your on-disk instance layout. This page explains every command, its flags, defaults, and short examples for macOS/Linux and Windows (PowerShell).
Tip: See depths <command> --help any time for built-in usage.

depths init

Initialize a new on-disk instance. Creates the directory layout and baseline config by instantiating depths.core.logger.DepthsLogger once.

Synopsis

Options

Examples


depths start

Start the OTLP/HTTP server (FastAPI + Uvicorn) for an instance.

Synopsis

Options

Examples


depths view

Pretty-print the latest rows from a persisted OTel table (from local or S3, depending on --storage and your environment).

Synopsis

Options

Examples


depths status

Query the running server’s /healthz and render producer/aggregator stats.

Synopsis

Options

Examples


depths stop

Stop a background server for an instance. Reads the pidfile written by start, sends a graceful terminate, and escalates when needed.

Synopsis

Options

Examples