Commands reference
Reference for every command in the Quant Content CLI. Each page documents the synopsis, options, and common examples for one command.
| Command | Description |
|---|---|
quant init |
Initialise a project and create quant.json. |
quant info |
Show the current project configuration and account status. |
Deploy & publish
Section titled “Deploy & publish”| Command | Description |
|---|---|
quant deploy |
Deploy all changed files from the configured directory. |
quant publish |
Publish a previously deployed revision. |
quant unpublish |
Unpublish content from the CDN without deleting it. |
quant delete |
Permanently remove content from the project. |
Individual assets
Section titled “Individual assets”| Command | Description |
|---|---|
quant file |
Upload a single file or asset. |
quant page |
Upload a single HTML page. |
Routing & cache
Section titled “Routing & cache”| Command | Description |
|---|---|
quant redirect |
Manage URL redirects. |
quant purge |
Purge cached content from the CDN. |
Search & discovery
Section titled “Search & discovery”| Command | Description |
|---|---|
quant search |
Manage the on-site search index. |
quant scan |
Scan the configured directory against the remote project. |
Edge functions & security
Section titled “Edge functions & security”| Command | Description |
|---|---|
quant functions |
Deploy edge functions (function, filter, auth, and bulk functions). |
quant waflogs |
Stream and query WAF event logs. |
Global options
Section titled “Global options”Every command accepts these flags. Most projects set them once via quant init (which writes them to quant.json) or via environment variables — but flags override both.
| Flag | Description |
|---|---|
-c, --clientid |
Customer/organisation ID. |
-p, --project |
Project machine name. |
-t, --token |
Project API token. |
-e, --endpoint |
API endpoint. Default https://api.quantcdn.io/v1. |
--help |
Show help for the command. |
--version |
Show CLI version. |
