djangoplay-cli / API / API Documentation
DocsDjangoPlay CLIAPIAPI Documentation

API Documentation

djangoplay-cli exposes a command-line API through the dplay console script.

1 min readApplies to v1.0.6
On this page ▾
  1. Entry point
  2. Current command tree
  3. Global options
  4. Development commands
  5. HTTP
  6. HTTPS
  7. Celery worker
  8. Certificates
  9. Logs
  10. System commands

Entry point

bash
dplay --help

Current command tree

text
dplay
├── http
├── ssl
├── worker
├── certs
├── logs
└── system
    ├── doctor
    └── reset

The current cli.py registers http, ssl, worker, and certs directly at the root. logs is also a root command. doctor and reset are under system.

Older changelog entries refer to dplay dev ...; those historical command paths should not be treated as the current CLI contract.

Global options

bash
dplay --version
dplay --help

Development commands

HTTP

bash
dplay http

HTTPS

bash
dplay ssl

Celery worker

bash
dplay worker

Certificates

bash
dplay certs

Logs

bash
dplay logs
dplay logs users
dplay logs mailer --level ERROR
dplay logs django --no-follow -n 100

System commands

bash
dplay system doctor
dplay system reset