Dive

dive pack

dive pack update

Move packs to the newest release their ref allows, or with --major across majors, migrating your files at each

A pack whose installed release tag now points at a different commit than packs.lock recorded is refused and left as installed: a published release must never move. The same holds when a clone checks out a different commit than git ls-remote reported. Branch-tracking packs are exempt, and a pinned pack is skipped without contacting the remote.

Arguments

NAMEstring[]

Packs to update; every pack in the layer when omitted

Options

--forceboolean

Overwrite a copy whose content differs from packs.lock

--majorboolean

Cross to each newer major in turn: run its migration as a dry run, show the diffs, ask, apply, then move ref to that major

--yesboolean

Accept every migration and major without asking (required when there is no terminal)

--globalboolean

Target the global layer (~/.config/dive/) instead of the project's ./.dive/

--dirstring

Target this Dive directory, laid out like .dive/ (config.toml, packs/, packs.lock)

Format: PATH.

--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 update [OPTIONS] [NAME]...