Command reference

Run envkit <command> --help for the full flag list; this is the map.

Setting up

CommandWhat it does
envkit init --store <path>Write ~/.config/envkit/config.toml pointing at your store
envkit setupPrepare the secret backend (GPG + pass) on Linux
envkit migrateOne-time: turn existing ~ symlinks into real files and seed the store

Tracking

CommandWhat it does
envkit add <path>Track a file, relative to ~. --from reads a list
envkit rm <path>Stop tracking. The local file is left alone
envkit listList tracked files

Moving files

CommandDirection
envkit backup~ → store. Secrets go to the keychain
envkit loadstore → ~. Won't clobber local changes without --force
envkit statusPer-file state: in-sync, differs, missing-local, missing-store, other-os
envkit diff <path>Diff one tracked file between ~ and the store

Secrets

CommandWhat it does
envkit secret listList managed key names. Never prints values
envkit secret get <KEY>Print a value. Missing key: empty + warning, exit 0
envkit secret set <KEY> [VALUE]Store a value. Prompts if omitted; reads a pipe if not a terminal
envkit secret rm <KEY>Delete a value
envkit exec KEY[:ENVNAME]... -- <cmd>Run a command with secrets in its environment

Checking

CommandWhat it does
envkit doctorCheck config, store, manifest, keychain, and leftover coupling

Exit codes

0 success. Non-zero on a real failure — a keychain error, an unreadable store, a backup blocked by the undeclared-secret scan.

The exception worth remembering: secret get on a missing key is exit 0 with an empty value, so a typo cannot break shell startup. See Secrets.