Utilities · MachineMail Docs
Open the dashboard, print shell completions and print the CLI version.
| Command | Summary |
|---|---|
open |
Open the dashboard in a browser |
completion |
Print a shell completion script (bash, zsh, fish) |
version |
Print the CLI version |
Every command also takes the global flags.
open
Open the dashboard in a browser.
Opens the MachineMail dashboard (machinemail.dev). 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 has its own sign-in; it does not use the CLI’s API key.
shell
machinemail open [page] [flags]
Arguments
| Field | Description |
|---|---|
[page] |
string - One of inboxes, threads, drafts, domains, webhooks, api-keys, lists, usage, settings |
Flags
| Field | Description |
|---|---|
--inbox <inbox-id> |
string - Open this inbox. |
--print |
boolean - 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
| Field | Description |
|---|---|
<shell> |
string - Required; 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