CLI tools for site handling

Two CLI commands are available:

  • site:list
  • site:show

List all configured sites

The following command will list all configured sites with their identifier, root page, base URL, languages, locales and a flag whether or not the site is enabled.

vendor/bin/typo3 site:list
Copied!
typo3/sysext/core/bin/typo3 site:list
Copied!

Show configuration for one site

The show command needs an identifier of a configured site which must be provided after the command name. The command will output the complete configuration for the site in YAML syntax.

vendor/bin/typo3 site:show <identifier>
Copied!
typo3/sysext/core/bin/typo3 site:show <identifier>
Copied!