cdnctl full command reference
Quick-start commands plus the full list of every command (accounts, container apps, addons, purge, object storage, jobs, logs) with their flags.
Open the full command reference →CDN.com.tr Help
Operate accounts, container apps, imports, logs, jobs, and object storage from terminal or AI agents.
Developers, API, cdnctl, and tools
Operate accounts, container apps, imports, logs, jobs, and object storage from terminal or AI agents.
Before agent or terminal automation starts, the binary freshness is checked.
Expected result: CLI returns JSON and update state is clear.
cdnctl update --check
cdnctl update --yes
cdnctl is the public API equivalent of the panel; it does not take over panel-only payment/card steps.
Expected result: Terminal flow keeps the same ownership boundary as the panel customer surface.
cdnctl login --email "<email>" --password "<password>"
cdnctl accounts list
cdnctl init reads the project folder, detects the language and any local AI agents (Claude Code, Cursor and similar), and writes cdnctl.yaml plus a Dockerfile template if one is missing. No git repository and no container registry are required.
Expected result: The folder contains cdnctl.yaml and a Dockerfile, and the account is ready for deploy.
cdnctl init
cdnctl init --wait
cdnctl check scans the project locally. Errors block the deploy: a server bound to localhost only, secrets committed in code, .env missing from the ignore files, host node_modules copied into the image. Warnings explain production risks such as SQLite on a single pod, a missing healthcheck, or a hard-coded port.
Expected result: check exits clean; nothing has left your machine during this step.
cdnctl check
A deploy token is shown once, works for a single account, and only covers the deploy surface: upload, build, deploy, status and logs — no delete and no billing. cdnctl mcp exposes the same commands to local agents over MCP.
Expected result: The agent deploys with the restricted token; panel login and payment stay with you.
cdnctl deploy-token create
cdnctl mcp
An AI agent performs the same migration steps the user can do in the panel after the user has completed package purchase and account assignment.
No. The plain-text token is shown only once at creation. Revoke it with cdnctl deploy-token revoke and create a new one; the old token stops working immediately.
cdnctl deploy prints the build log when a build fails. The most common causes are a Dockerfile that copies host node_modules into the image and a dependency missing from the manifest — cdnctl check catches both before upload. Runtime logs: cdnctl container apps logs --app <app_uuid>.
Listen on the port declared in cdnctl.yaml, on all interfaces (0.0.0.0). A localhost-only bind is flagged by cdnctl check, because platform traffic reaches the container from outside the loopback interface.