Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

exp:expstaticdiff

What the last static build of a target changed, whether its folder still matches the manifest, and whether every link of it works when served below a path.

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/examples/commands/expstaticdiff.md

On this page

exp:expstaticdiff

What the last static build of a target changed, whether its folder still matches the manifest, and whether every link of it works when served below a path.

Script bin/php/expstaticdiff.php, code in kernel/private/classes/commands/expstaticdiff.php. Run it from the installation root, as the user the web server runs as:

./console exp:expstaticdiff --help
./console exp:static:diff --help
php bin/php/expstaticdiff.php --help

Help text

What the last static build changed
Compares the manifest of the target's folder with the one of the build before it: the files added,
changed and removed. --verify compares the folder with its manifest (files missing, changed since the
build, or not listed); --check-links checks every link and file as a browser would, served below each
--mount. Changes nothing; exit 1 when --verify or --check-links finds a problem.

./console exp:static:diff github-public
./console exp:static:diff github-public --verify
./console exp:static:diff github-public --check-links --mount=/ --mount=/my-site/

Options

OptionValueHelp
--formatrequiredtext (default) or json (the machine output exp-static/1)
--verifyCompare the folder with its manifest: files missing, changed since the build, or not listed
--check-linksCheck every link and file of the folder as a browser would, served below each --mount
--mountrequiredThe path the folder is served at for --check-links (default the target's BasePath; a comma list or repeated: /,/repo/)

Read from the option definitions in the code (startup(), getOptions(), options() or ezcConsoleOption). Every script also takes the standard options of the script framework (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).

Arguments: [target].


Generated by ./console exp:help:examples from bin/php/expstaticdiff.php, kernel/private/classes/commands/expstaticdiff.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x