Dive

dive serve

dive serve

Run Dive as an HTTP service that starts, streams and cancels plan runs

Serves the plans in this project's .dive/ over HTTP. Each request carries a run token, a JWT signed by your app and checked against the keys in [serve].public_keys. Reads only the project config, as serve mode always does. --dev-key signs and trusts a local key instead, for development, and is refused when DIVE_ENV or [identity].environment is production.

Options

--listenstring

Address and port to listen on; overrides [serve].listen

Format: ADDR.

--dirstring

Project directory to serve, the one holding .dive/; defaults to the current directory

Format: PATH.

--dev-keyboolean

Sign and trust a local development key, created in the data directory on first use

Available commands

Global options

Increase log verbosity (-v info, -vv debug, -vvv trace)

Act as this [identities] entry: runs get a run token minted for its tenant and user, which http tools send to the app

Format: IDENTITY.

dive serve [OPTIONS] [COMMAND]