Show the constants inside the selected config.
Output the values in that file to the console.

If no CONFIG_NAME parameter is provided, the config that will be shown will be the default one - the one named config.php.

Command Syntax

config-show [CONFIG_NAME] [PRESENTATION_FLAGS]
CONFIG_NAME - The name of the config in the _configs folder, to be viewed.
PRESENTATION_FLAGS - common presentation flags for the SparkCli.
For more info on presentation flags, check the Presentation flags manual.

Examples

php spark.php config-show
show the default config.

php spark.php config-show theme=DEFAULT
show the default config, with presentation flags

php spark.php config-show -hb theme=DEFAULT
show the default config, with presentation flags

php spark.php config-show -auto -hb theme=DEFAULT
show the default config, with presentation flags

php spark.php config-show "configA.php"
show a config.

php spark.php config-show "configA.php" theme=DEFAULT
show a config, with presentation flags

php spark.php config-show "configA.php" -hb theme=DEFAULT
show a config, with presentation flags

php spark.php config-show "configA.php" -auto -hb theme=DEFAULT
show a config, with presentation flags

Back