Skip to the content
Documentation

exp:expstaticstatus

No ratings yet

Available since Exponential 6.0.15 (in development, not in a release yet).

Summary

The state of a static publishing target: its git repository, the credential (never its value), the last runs, waiting pushes and stale pages

Usage

./console exp:expstaticstatus [options]
php bin/php/expstaticstatus.php [options]
./console exp:static:status [options]

Aliases

exp:static:status

Help

The output of ./console help exp:expstaticstatus (the script run with --help), without the standard options:

Usage: bin/php/expstaticstatus.php [OPTION]... [TARGET]
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=json


Options:
  --limit=VALUE   How many of the last runs to list (default 10)
  --format=VALUE  text (default) or json (the machine output exp-static/1)

Options

Option Value Description
--limit required How many of the last runs to list (default 10)
--format required text (default) or json (the machine output exp-static/1)

Arguments

[target]

Standard options

Every script also takes the standard options of the script framework: --help, --quiet, --siteaccess, --debug, --colors, --no-colors, --logfiles, --no-logfiles, --verbose and --allow-root-user.

Source

bin/php/expstaticstatus.php, kernel/private/classes/commands/expstaticstatus.php

See also

Generated example: exp:expstaticstatus

Added to the reference for Exponential 6.0.15.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.