ormlette
This is the CLI tool’s entry point
TO use it, just run gleam run -m ormlette
in your project, with the schema in the src/schema
folder, named with the following rules:
- File name = table name
- A function named {table_name}_table that returns a table object
Functions
pub fn gleam_run() -> Result(Nil, Nil)
This runs the generated file with gleam to actually create the necesary files