Commands for djangoplay-cli.
| Command | Description |
|---|---|
| dplay http | Start the HTTP dev server — encrypts env, flushes Redis, collects static, restarts Celery, opens the browser, then runs the Django dev server. |
| dplay ssl | Same startup flow as http, but validates/generates a local TLS certificate first and serves over HTTPS via runserver_plus. |
| dplay worker | Run the Celery worker in the foreground for the current project. |
| dplay certs | Regenerate local SSL certificates from ~/.dplay/config.yaml — rebuilds SANs after adding new subdomains, and trusts the cert on macOS. |
| dplay logs [app] | Stream application logs with level filtering (--level), tail length (--lines/-n), and follow control (--follow/--no-follow). Defaults to django.log. |
| dplay system doctor | Run environment diagnostics — Python version, Redis, PostgreSQL, and Celery availability. |
| dplay system reset | Stop development Celery/beat processes and flush Redis. Development-only, explicitly destructive. |
| dplay --version, -v | Print the installed djangoplay-cli version. |