item subcommands operate against the active profile.
abadge item add
Create a new item interactively.
Fields not provided via flags are prompted interactively (the value prompt is echo-masked).
For zero-knowledge items, the daemon must be unlocked. The CLI:
- Generates a 32-byte DEK locally.
- Encrypts the payload with the DEK (XChaCha20-Poly1305).
- Wraps the DEK with the profile root key (XChaCha20-Poly1305).
- Sends
encryptedItemKeyandciphertexttoPOST /v1/items.
POST /v1/items and the API encrypts with AES-256-GCM.
abadge item list
Lists items in the active profile. Metadata only — never returns secret values.
abadge item get <id>
Fetch a single item.
abadge item update <id>
Update an item interactively. Optimistic concurrency rejects stale edits with STALE_VERSION.
abadge item rm <id>
Soft-delete the item. Ciphertext is retained but inaccessible; permissions cascade-deny.
--force skips the confirmation prompt.
Storage modes
The mode is fixed at creation and inherited from the profile.