pglite-cli - v0.0.1
    Preparing search index...

    pglite-cli - v0.0.1

    pglite-cli

    A CLI for PGlite.

    This is currently very simple, it doesn't even format the output nicely.

    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.)

    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