exp:ezapplytemplate
Apply the template blocks found in files and write the files back (exit code 0, 1 or 2).
Script bin/php/ezapplytemplate.php, code in kernel/private/classes/commands/ezapplytemplate.php. Run it from the installation root, as the user the web server runs as:
./console exp:ezapplytemplate --help
php bin/php/ezapplytemplate.php --helpOptions
| Option | Value | Help |
|---|---|---|
-a | ||
--all | Go trough all files defined in codetemplate.ini | |
--check-only | Will only check if the files will be changed or have errors |
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: [file].
Related
Generated by ./console exp:help:examples from bin/php/ezapplytemplate.php, kernel/private/classes/commands/ezapplytemplate.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.