Docs /
... / Getting Started / CLI Quick Reference

⚡ CLI Quick Reference

A compact reference for all Odac CLI commands with their prefix arguments.

Basic Commands

odac                    # Show server status
odac restart            # Restart server
odac monit              # Monitor applications
odac debug              # View live logs
odac help               # Show help

Authentication

odac auth [-k|--key] <key>

Applications

odac app create [-n|--name] <name> [-u|--url] <gitUrl>  # Create app
odac app delete [-i|--id] <app>                          # Delete app
odac app list                                            # List apps

Domains

odac domain add [-d|--domain] <domain> [-a|--app] <appId>  # Add domain
odac domain delete [-d|--domain] <domain>                    # Delete domain
odac domain list [-a|--app] <appId>                          # List domains

SSL Certificates

odac ssl renew [-d|--domain] <domain>    # Renew SSL certificate

Mail Accounts

odac mail create [-e|--email] <email> [-p|--password] <password>  # Create account
odac mail delete [-e|--email] <email>                             # Delete account
odac mail list [-d|--domain] <domain>                             # List accounts
odac mail password [-e|--email] <email> [-p|--password] <password> # Change password

Common Prefixes

Prefix Long Form Description
-d --domain Domain name
-e --email Email address
-p --password Password

| -i | --id | Project ID/name |
| -k | --key | Authentication key |

Usage Patterns

Interactive Mode:

odac app create
# Prompts for app details

Single-Line Mode:

odac app create -n my-app -u https://github.com/user/repo.git
# No prompts, immediate execution

Mixed Mode:

odac app create -n my-app
# Prompts only for URL/repo

Automation Examples

# Batch create email accounts
odac mail create -e admin@example.com -p admin123
odac mail create -e support@example.com -p support456

# Set up multiple subdomains
odac domain add -d blog.example.com -i my-app
odac domain add -d api.example.com -i my-app
odac domain add -d shop.example.com -i my-app

# Renew multiple SSL certificates
odac ssl renew -d example.com
odac ssl renew -d api.example.com

Tips

  • Use single-line mode for scripts and automation
  • Use interactive mode for one-off operations
  • Combine both modes as needed
  • All commands support --help for detailed information