Dive

dive pack

dive pack new

Scaffold a pack in a directory of a packs repository: manifest, one tool, plan and agent, README, CHANGELOG and MIGRATING.md

Writes the files from a scaffold built into Dive, so it works offline, into <PATH>/<NAME>/, which is created when missing and refused when it holds anything. A packs repository holds one pack per directory, each released as <NAME>/vX.Y.Z tags. When the repository has no .github/workflows/packs.yaml, it also gets one that runs dive pack test over every pack, and a .gitignore for .dive/ when it has none. The scaffold passes dive pack check and dive pack test as written.

Arguments

NAMEstringrequired

The pack's name, written into pack.toml and used as its directory: lowercase letters, digits and underscores, at most 20 characters

PATHstringdefault: .

The packs repository's root; the pack goes in <PATH>/<NAME>/

Options

--jsonboolean

Print a JSON envelope instead of text

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 pack new [OPTIONS] <NAME> [PATH]