pglite-cli
v0.0.1
Published
A CLI for PGlite instances.
Readme
pglite-cli
A CLI for PGlite.
This is currently very simple, it doesn't even format the output nicely.
Install
You probably want to install this globally:
npm i -g pglite-cli(Feel free to omit -g if you'd prefer a non-global installation.)
Usage
pgl [DATABASE_PATH] [SQL_COMMAND]DATABASE_PATH: the path to your PGlite database. If this is omitted, the CLI will prompt you to enter one. If the path you provide doesn't exist on the filesystem, a new PGlite instance will be created at the path you provide.SQL_COMMAND: if provided, this command will be run and nothing else will execute. If omitted, you will be dropped into a REPL.
API reference docs: https://electrovir.github.io/pglite-cli
