Skip to main content

chainmail draft send

Send a draft, then remove it from Drafts.

Running the same command again within 7 days reports the first send instead of sending twice: without --idempotency-key, the key is derived from the draft's ref.

Usage​

chainmail draft send <ref> [flags]

Examples​

chainmail draft send cm1:work:Drafts:3:9

Flags​

--idempotency-key string the key that stops a repeat from sending again (default: derived from the ref)

Global flags​

--output string output format: json or table (default $CHAINMAIL_OUTPUT, then cli.toml, then table on a terminal, json otherwise)
--socket string daemon socket (default $CHAINMAIL_SOCKET, then cli.toml, then /run/chainmail/chainmail.sock)

See also​