Oko/Docs

Command reference

oko contact mail show

Reads the declared mail provider.

Invocation#

Command
oko contact mail show [--json]

Inputs and options#

  • None.

Output and state effect#

  • Prints `endpoint`, `from`, `to` and `key file`; the key is never printed.

Refusals and safe exits#

  • `no mail provider is declared in <path>; declare one with `oko contact mail set --endpoint <url> --from <address> --to <address> --key-file <owner-only file>`` (exit 1); `oko contact mail show takes only flags; it was given <word>, …` (exit 2).

CLI reference#