# The CLI

> Every domains command.

Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service).  
Source: https://domains.docs.sypnia.com/tools/cli/

For agents: Domains CLI: login/logout/whoami/use; search --tld; quote/buy (--years, --connect, --contact); ls/show; records ls|set|rm|undo|export|import; zones add|rm, nameservers set; dnssec enable|disable|status; connect/disconnect/connections ls|repair; renew, autorenew; transfer-in, unlock, lock, auth-code, move, give; privacy, contact show|update; import (engine); --json; purchases confirm unless --yes.

| Command                                                                  | What it does                                           |
| ------------------------------------------------------------------------ | ------------------------------------------------------ |
| `login` · `logout` · `whoami` · `use <url>`                              | Sign in (device flow) or point at an engine            |
| `search <text> [--tld]`                                                  | Free names and final prices                            |
| `quote <name> [--years]`, `buy <name> [--years] [--connect] [--contact]` | Quote and buy                                          |
| `ls`, `show <domain>`                                                    | Your domains, dates, settings                          |
| `records ls\|set\|rm\|undo\|export\|import`                              | DNS records                                            |
| `zones add\|rm`, `nameservers set`                                       | DNS only, registration only                            |
| `dnssec enable\|disable\|status`                                         | DNSSEC                                                 |
| `connect <name> <target>`, `disconnect`, `connections ls\|repair`        | Connections                                            |
| `renew`, `autorenew on\|off`                                             | Renewals                                               |
| `transfer-in`, `unlock`, `lock`, `auth-code`, `move`, `give`             | Transfers                                              |
| `privacy on\|off`, `contact show\|update`                                | Privacy and contacts                                   |
| `import`                                                                 | Bring domains and zones from your AWS account (engine) |

`--json` on every command; purchases ask for confirmation unless `--yes`.
