Note
This reference uses ./typo3/cli_dispatch.php extbase
as the command to
invoke.
The commands in this reference are shown with their full command identifiers. On your system you can use shorter identifiers, whose availability depends on the commands available in total (to avoid overlap the shortest possible identifier is determined during runtime).
To see the shortest possible identifiers on your system as well as further commands that may be available, use:
./typo3/cli_dispatch.php extbase help
Note
Some commands accept parameters. See ./typo3/cli_dispatch.phpsh extbase help <command identifier>
for more information about a specific command.
The following reference was automatically generated from code on 01-02-16
Available Commands
- yaml_configuration:export:backendgroups
- yaml_configuration:export:backendusers
- yaml_configuration:export:frontendgroups
- yaml_configuration:export:frontendusers
- yaml_configuration:export:table
- yaml_configuration:import:backendgroups
- yaml_configuration:import:backendusers
- yaml_configuration:import:frontendgroups
- yaml_configuration:import:frontendusers
- yaml_configuration:import:table
- yaml_configuration:tsconfig:generate
Export be_groups table to yml file
--file
- Path to the yml file. It is advised to store this outside of the web root.
--skip-columns
- A comma separated list of column names to skip. Default: uc,crdate,lastlogin,tstamp
--include-deleted
- Export deleted records. Default: false
--include-hidden
- Export hidden/disable records. Default: false
Export be_users table to yml file
--file
- Path to the yml file. It is advised to store this outside of the web root.
--skip-columns
- A comma separated list of column names to skip. Default: uc,crdate,lastlogin,tstamp
--include-deleted
- Export deleted records. Default: false
--include-hidden
- Export hidden/disable records. Default: false
Export fe_groups table to yml file
--file
- Path to the yml file. It is advised to store this outside of the web root.
--skip-columns
- A comma separated list of column names to skip. Default: uc,crdate,lastlogin,tstamp
--include-deleted
- Export deleted records. Default: false
--include-hidden
- Export hidden/disable records. Default: false
Export fe_users table to yml file
--file
- Path to the yml file. It is advised to store this outside of the web root.
--skip-columns
- A comma separated list of column names to skip. Default: uc,crdate,lastlogin,tstamp
--include-deleted
- Export deleted records. Default: false
--include-hidden
- Export hidden/disable records. Default: false
Export a table to yml file
--table
- The name of the table to export
--file
- Path to the yml file. It is advised to store this outside of the web root.
--skip-columns
- A comma separated list of column names to skip. Default: uc,crdate,lastlogin,tstamp
--include-deleted
- Dump deleted records. Default: false
--include-hidden
- Dump hidden/disable records. Default: false
Import backend groups from yml file
Import backend groups from yml file into be_users table. Existing records will be updated.
--match-fields
- Comma separated list of fields used to match configurations to database records. Default: title
--file
- Path to the yml file you wish to import. If none is given, all yml files in directories named 'Configuration' will be parsed
Import backend users from yml file
Import backend users from yml file into be_users table. Existing records will be updated.
--match-fields
- Comma separated list of fields used to match configurations to database records. Default: username
--file
- Path to the yml file you wish to import. If none is given, all yml files in directories named 'Configuration' will be parsed
Import frontend groups from yml file
Import frontend groups from yml file into fe_users table. Existing records will be updated.
--match-fields
- Comma separated list of fields used to match configurations to database records. Default: title
--file
- Path to the yml file you wish to import. If none is given, all yml files in directories named 'Configuration' will be parsed
Import frontend users from yml file
Import frontend users from yml file into fe_users table. Existing records will be updated.
--match-fields
- Comma separated list of fields used to match configurations to database records. Default: username
--file
- Path to the yml file you wish to import. If none is given, all yml files in directories named 'Configuration' will be parsed
Import table data from yml file
Import table data from yml file. Existing records will be updated.
--table
- The name of the table to export
--match-fields
- Comma separated list of fields used to match configurations to database records.
--file
- Path to the yml file you wish to import. If none is given, all yml files in directories named 'Configuration' will be parsed
Generate TSConfig configuration files from a YAML configuration
--file
- Path to the yml file you wish to import. If none is given, all yml files in directories named 'Configuration' will be parsed
You can tidy exported yaml files using an online tool like: http://www.yamllint.com/.
If you do not trust online tools, you can also convert it locally with e.g. the following npm packages: js-yaml
and json2yaml
.
# Install dependencies globally (node.js https://nodejs.org/en/ must be installed in order to run the following command)
npm install -g js-yaml json2yaml
# Example: reformatting exported be_groups.yml to be_groups.formatted.yml
js-yaml be_groups.yml | json2yaml > ./be_groups.formatted.yml