Cloudrexx Workbench is the Software Development Kit for Cloudrexx. It includes support for Unit-Testing, Doctrine command line tools and some scripts to simplify develoment.
DO NOT USE CLOUDREXX ON A PRODUCTIVE ENVIRONMENT IF THE WORKBENCH IS INSTALLED!
The workbench can be invoked by calling the following command from the root directory of your Cloudrexx installation:
This shows a help with all available sub-commands.
The workbench requires a working installation of Cloudrexx with the component "Workbench" installed.
If you install Cloudrexx from master, workbench is pre-installed.
The Cloudrexx workbench is not made for a productive environment. If you want to use your code on a production environment you should execute the following call:
./cx deactivate core_module Workbench
The Workbench component adds a Cloudrexx command "workbench" (aliased by "wb") which provides the following sub-commands:
The db sub-command has some sub-commands itself:
Updates the database. A filter (either component type or component type and name) can be specified. This command performs the following steps:
- Generate Doctrine YAML mapping files based on a MySQL workbench file 
- Generate Doctrine entities based on YAML mapping files
- Generate Doctrine repositories based on YAML mapping files
- Generate SQL difference to the database based on YAML mapping files
This command drops any remaining temporary files generated by the db command.
Allows access to the Doctrine command line tools.
Shows the different mappings for a field according to the YAML mapping files and to the database according to Doctrine schema tool.
Creates a new component.
Executes unit test cases. A filter (either component type or component type and name) can be specified.
exportCreates a zip package of a component.
- Only works if a filter with component type and name is specified