Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Aug 18, 2025. It is now read-only.

instant-labs/instant-models

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

instant-models

Run tests:

cargo test -- --nocapture

Generate Rust code with the cli

cargo run --bin cli --features="postgres clap" -- -t "accounts" > accounts.rs
$ cargo run --bin cli --features="postgres clap" -- --help
instant-models 0.1.0
Generate Rust code from postgres table

USAGE:
    cli [OPTIONS] --table-name <TABLE_NAME>

OPTIONS:
    -h, --help                         Print help information
        --pg-dbname <PG_DBNAME>        Postgres db name [default: postgres]
        --pg-host <PG_HOST>            Postgres host [default: 127.0.0.1]
        --pg-password <PG_PASSWORD>    Postgres password [default: postgres]
        --pg-port <PG_PORT>            Postgres port [default: 5432]
        --pg-username <PG_USERNAME>    Postgres username [default: postgres]
    -t, --table-name <TABLE_NAME>      Name of the table to generate
    -V, --version                      Print version information

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.