exp:velocity
Script bin/php/velocity.php, code in kernel/private/classes/commands/velocity.php. Run it from the installation root, as the user the web server runs as:
./console exp:velocity --help
./console exp:vc --help
php bin/php/velocity.php --helpOptions
| Option | Value | Help |
|---|---|---|
--json | Report as JSON, for a caller that is not a person | |
--keep-global | required | More globals to keep between requests (comma-separated), appended to the built-in defaults and velocity.ini KeepGlobals[]; for start, restart and command |
--engine | required | php, frankenphp or qbix -- or several, comma-separated -- for this command only, instead of [ServerSettings] Engine |
--from | required | install: take the binary from this file instead of downloading it (still verified) |
--force | install: download again even if the binary is already there | |
--check | install: re-hash the installed binary against its SHA-256 | |
--trust-github-digest | install: with no Sha256 pinned for the version, accept the digest GitHub publishes for the release | |
--all | start, stop, restart, graceful, kill or status every engine, one after the other | |
--https | ||
--no-https | ||
--rebuild-phar | start, restart, graceful, deploy: rebuild the engine archive even when it is current | |
--kernel | deploy: regenerate the kernel autoload array too (kernel/ and lib/ only) | |
--apply | config set|unset, cache clear, layout migrate, site|conf|mod, ssl renew, watchdog install|remove, install: make the change (without it they are a dry run that changes nothing) | |
--dry-run | the default of the commands that write (kept for scripts that pass it); deploy: print the steps and what each would do, and do nothing | |
--no-fpm | deploy: leave PHP-FPM alone (no reload, no wait) | |
--fpm-reload | deploy: reload PHP-FPM even when its OPcache revalidates the files (php.ini or pool changed, files renamed) | |
--no-velocity | deploy: do not restart Velocity | |
--no-autoload | deploy: do not regenerate autoload arrays | |
--packer | deploy: clear the packed scripts and styles too (ezjscore-packer, right before template-block) | |
--clear-content | deploy: clear the content, exphttpcache, template-block and response caches even when no template, design file, setting or translation changed | |
--all-caches | deploy: clear every cache, whatever changed since the last deploy | |
--caches | required | deploy: clear these caches too, whatever changed (ids or tags of ezcache, comma-separated: the list a migration run reports) |
--migrate | deploy: run the pending migrations (exp:migration:migrate --apply) before PHP-FPM and Velocity run the new code, whatever [DeploySettings] Migrate says | |
--no-migrate | deploy: do not run the pending migrations, whatever [DeploySettings] Migrate says |
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: [command].
Related
Generated by ./console exp:help:examples from bin/php/velocity.php, kernel/private/classes/commands/velocity.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.