java.lang.Object
is.codion.tools.generator.cli.DomainGeneratorCli
A command line interface for the domain source code generator, generating the domain source code
for a database schema, either to standard output or to source files.
The dbms module and the JDBC driver for the database in question must be available at runtime.
java -m is.codion.tools.generator.cli \
--url jdbc:h2:mem:h2db \
--init-scripts src/main/sql/create_schema.sql \
--user sa \
--schema PETCLINIC \
--package is.codion.demos.petclinic.domain
Run with --help for the available options.-
Method Summary
-
Method Details
-
main
Generates the domain source code for the schema specified by the given arguments, exiting with 0 on success, 1 on failure and 2 in case of a usage error.- Parameters:
arguments- the command line arguments, run with --help for the available options
-