Skip to the content
Documentation

exp:exptemplateengines

No ratings yet

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

Summary

List the template engines: library found or not, version, file endings, settings, security policy, compiled-template cache

Usage

./console exp:exptemplateengines [options]
php bin/php/exptemplateengines.php [options]
./console exp:template:engines [options]

Aliases

exp:template:engines

Help

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

Usage: bin/php/exptemplateengines.php [OPTION]...
List the template engines of the installation
For each engine: whether its library is available, its version, the file endings it renders, its
settings, whether its security policy is on and where its compiled templates are kept.

./console exp:template:engines
./console exp:template:engines --format=json

Exit code: 0 every engine is available; 3 an engine's library is missing; 2 wrong options.


Options:
  --format=VALUE  text (the default) or json

Options

Option Value Description
--format required text (the default) or json

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/exptemplateengines.php, kernel/private/classes/commands/exptemplateengines.php

See also

Generated example: exp:exptemplateengines

Added to the reference for Exponential 6.0.15.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.