quant file
Deploy a single non-HTML asset (CSS, JavaScript, images, fonts, downloads) to a specific URL on QuantCDN. For HTML pages, use quant page.
Synopsis
Section titled “Synopsis”quant file <file> <location> [options]Description
Section titled “Description”Uploads one local file and makes it available at location on the CDN. Useful for hotfixes — updating a single asset without redeploying the whole site — and for one-off uploads outside a build pipeline.
The file is treated as an asset (any content type other than HTML). To upload an HTML document, use quant page, which handles URL normalisation correctly.
Arguments
Section titled “Arguments”| Name | Description |
|---|---|
file |
Path to the local file (required). |
location |
The URL path the file should be available at (required). |
Options
Section titled “Options”This command takes only the global options.
Examples
Section titled “Examples”Deploy a CSS file
Section titled “Deploy a CSS file”quant file style.css /css/style.cssDeploy an image
Section titled “Deploy an image”quant file image.jpg /images/header.jpgSee also
Section titled “See also”quant page— deploy a single HTML page.quant deploy— deploy a whole directory.
