-
Notifications
You must be signed in to change notification settings - Fork 6
Tilda Command Line Utilities
Tilda provides a number of command-line utilities to manage various processes involved when using the framework. Key utilities are available to generate code, migrate database, reverse engineer existing databases and so on.
🎈 NOTE: All those utilities provide command-line help if called without any parameter, and expect the classpath to be set up properly when calling them via a java.exe command line. A typical Windows CMD script can be found in java_run.cmd.
🎈 NOTE: All those utilities (all Tilda code in general) use Log4J2 for logging purpose and employ an Ultra-Logging philosophy to generate richly detailed logs that document every step involved in a given process. Ultra-Logging is implemented in the project to "ensure that bugs or issues that surface can eventually be all traced and debugged post-facto out of log files". That makes the logs (1) very informative about the details of what is going on, but also (2) quite verbose.
🎈 NOTE: All those utilities make use of tongue-in-cheek ASCII art for key messages, including success. If the utility is successful, you'll get a Woohoo!
================================================================================
__ __ _ _
/ / /\ \ \ ___ ___ | |__ ___ ___ / \
\ \/ \/ / / _ \ / _ \ | '_ \ / _ \ / _ \ / /
\ /\ / | (_) | | (_) | | | | | | (_) | | (_) | /\_/
\/ \/ \___/ \___/ |_| |_| \___/ \___/ \/
The database was automatically migrated to match the Application's data model.
=================================================================================
The utilities are as follows:
- Gen: Generates all code artifacts from data model definitions in Tilda json files.
- Migrate: Migrates a database to match the model defined in the runtime.
- Docs: Generates browsable HTML docs SQL DDL files from the data models.
- Reverse: Generates Tilda json files from database schemas.
- Load: Load CSV files.
- Import: Load rich json data files matching data model structures.