Skip to content
machinemail

Utilities

Open the dashboard, print shell completions and print the CLI version. Usage, flags and examples for `machinemail open`, `machinemail completion`, `machinemail version`.

Open the dashboard, print shell completions and print the CLI version.

CommandSummary
openOpen the dashboard in a browser
completionPrint a shell completion script (bash, zsh, fish)
versionPrint the CLI version

Every command also takes the global flags.

open

Open the dashboard in a browser.

Opens the MachineMail dashboard for the API in use (machinemail.dev for api.machinemail.dev; a local or self-hosted API serves its own). Pages: inboxes, threads, drafts, domains, webhooks, api-keys, lists, usage, settings. Without a browser (SSH, CI, a sandbox) it prints the URL. MACHINEMAIL_DASHBOARD_URL overrides the origin. The dashboard signs in with a magic link, not with the CLI’s API key.

shell
machinemail open [page] [flags]

Arguments

[page]string
One of inboxes, threads, drafts, domains, webhooks, api-keys, lists, usage, settings

Flags

--inbox <inbox-id>string
Open this inbox.
--printboolean
Print the URL instead of opening it.

Examples

shell
machinemail open
machinemail open webhooks
machinemail open --inbox agent@machinemail.dev
machinemail open --print

completion

Print a shell completion script (bash, zsh, fish).

Prints a completion script generated from this build’s command tree: resources, actions, flags with their descriptions, enum values and profile names. Completing never runs the CLI. Regenerate it after upgrading.

shell
machinemail completion <shell>

Arguments

<shell>stringRequired
bash | zsh | fish

Examples

shell
machinemail completion bash > ~/.local/share/bash-completion/completions/machinemail
machinemail completion zsh > "${fpath[1]}/_machinemail"
machinemail completion fish > ~/.config/fish/completions/machinemail.fish
eval "$(machinemail completion bash)"

version

Print the CLI version.

shell
machinemail version