Skip to main content

chainmail item restore

Bring back a deleted item; --cascade brings back the items deleted with it

Usage​

chainmail item restore <id> [flags]

Examples​

chainmail item restore it_01jcb7m2k9r8q3v4w5x6y7z8a9
chainmail item restore it_01jcb7m2k9r8q3v4w5x6y7z8b0 --cascade

Flags​

--cascade also restore the items deleted with it

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​