exp:expstaticstatus
The state of a static publishing target: its git repository, the credential (never its value), the last runs, waiting pushes and stale pages.
Script bin/php/expstaticstatus.php, code in kernel/private/classes/commands/expstaticstatus.php. Run it from the installation root, as the user the web server runs as:
./console exp:expstaticstatus --help
./console exp:static:status --help
php bin/php/expstaticstatus.php --helpHelp text
The state of a static publishing target
Shows the target's git repository (branch, last commit, last tag static/<target>/<n>, changes not
published, commits not pushed), whether its credential can be read (never its value), the last
publishes and rollbacks of exp_static_run with their push state, and the pages of exp_static_page
with how many are stale.
./console exp:static:status github-public
./console exp:static:status github-public --limit=30 --format=jsonOptions
| Option | Value | Help |
|---|---|---|
--limit | required | How many of the last runs to list (default 10) |
--format | required | text (default) or json (the machine output exp-static/1) |
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].
Related
Generated by ./console exp:help:examples from bin/php/expstaticstatus.php, kernel/private/classes/commands/expstaticstatus.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.