Skip to content

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.
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.
Command Description
quant file Upload a single file or asset.
quant page Upload a single HTML page.
Command Description
quant redirect Manage URL redirects.
quant purge Purge cached content from the CDN.
Command Description
quant search Manage the on-site search index.
quant scan Scan the configured directory against the remote project.
Command Description
quant functions Deploy edge functions (function, filter, auth, and bulk functions).
quant waflogs Stream and query WAF event logs.

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.