quant scan
Compare local files against what’s deployed to QuantCDN. Use it as a dry-run before quant deploy to see what would change.
Synopsis
Section titled “Synopsis”quant scan [options]Description
Section titled “Description”scan walks the configured directory, calculates MD5 hashes, and reports which files differ from the CDN, are missing remotely, or exist on the CDN but no longer locally (and would be unpublished by deploy). It uploads nothing.
By default scan shows a full report. Use --diff-only to limit output to files that would be uploaded, or --unpublish-only to limit output to files that would be unpublished.
Options
Section titled “Options”| Flag | Description | Default |
|---|---|---|
--diff-only |
Only show files that differ from QuantCDN. | false |
--unpublish-only |
Only show files that would be unpublished. | false |
--skip-unpublish |
Match deploy behaviour: ignore files that would be unpublished. |
false |
--skip-unpublish-regex |
Regex of paths to keep published. | — |
Examples
Section titled “Examples”See everything that would change
Section titled “See everything that would change”quant scanJust the upload diff
Section titled “Just the upload diff”quant scan --diff-onlyJust what would be unpublished
Section titled “Just what would be unpublished”quant scan --unpublish-onlyPreview deploy behaviour exactly
Section titled “Preview deploy behaviour exactly”quant scan --skip-unpublish-regex '^/legacy/.*'See also
Section titled “See also”quant deploy— apply the changes scan previews.
