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:expstatictargets

List the targets of static publishing (staticcache.ini [Target_<id>]) with their siteaccess, links and folder, and check each one.

Download as PDF

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

On this page

exp:expstatictargets

List the targets of static publishing (staticcache.ini [Target_<id>]) with their siteaccess, links and folder, and check each one.

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

./console exp:expstatictargets --help
./console exp:static:targets --help
php bin/php/expstatictargets.php --help

Help text

The targets of static publishing
Every target of staticcache.ini [StaticPublishSettings] TargetList[] with its siteaccess, how its links
are written, its public address and its folder, and what is wrong with its settings. Changes nothing;
exit 1 when a target has an error.

./console exp:static:targets
./console exp:static:targets --format=json
./console exp:static:targets --export=all > migrations/20261101120000_static_targets.ini

--export prints targets as an INI migration (also for a site package): their [Target_<id>] blocks and
TargetList[]. Credentials travel as their secret names, never their values.

Options

OptionValueHelp
--formatrequiredtext (default) or json (the machine output exp-static/1)
--exportrequiredprint these targets (ids separated by commas, or all) as an INI migration and change nothing

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 ...).


Generated by ./console exp:help:examples from bin/php/expstatictargets.php, kernel/private/classes/commands/expstatictargets.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