onetonfoot / pgdb

A single binary to easily run postgres

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pgdb

Pgdb is a single binary that can be used to run a postgres database on any major platform.

# pgdb --help

USAGE:
    pgdb [FLAGS] [OPTIONS]

FLAGS:
    -h, --help              Prints help information
        --non-persistent    If non-persistent delete files and directories on exit, otherwise keep them
        --print-url         Wether to print the access url to the stdout
    -V, --version           Prints version information

OPTIONS:
        --data-dir <data-dir>              Optional a directory to store posgres data [default: data/db]
        --database <database>              Database name [default: postgres]
        --migration-dir <migration-dir>    Optional a directory with migration scripts to apply
        --password <password>              Password [default: password]
        --port <port>                      Port [default: 5432]
        --user <user>                      User [default: postgres]

About

A single binary to easily run postgres

License:MIT License


Languages

Language:Rust 100.0%