TYPO3 / Fluid

Fluid template rendering engine - Standalone version
GNU Lesser General Public License v3.0
151 stars 93 forks source link

[TASK] Prepare fluid binary to support multiple commands #875

Closed s2b closed 2 months ago

s2b commented 2 months ago

The fluid binary currently only supports one command: The execution of fluid code, supplied by various sources, like a file, interactively or via socket. To be able to add more features in the future, a command parameter has been introduced to differentiate various sub-commands.

The existing functionality is now available as a sub-command by executing "bin/fluid run". However, the "run" command is defined as default command in this first step, which means that the previous syntax still works and that this change should be non-breaking.

Since ConsoleRunner has been defined as @internal, it has been marked as final, also the visibility of methods, variables and constants has been set to private to reduce/clarify the API of the class.