#cli #client-side

nightly app diwata_cli

Command line for diwata

6 releases

Uses old Rust 2015

0.1.6 Jul 8, 2018
0.1.5 Jun 2, 2018
0.1.4 May 28, 2018

25 downloads per month

MIT license

37K SLoC

JavaScript 37K SLoC // 0.0% comments Rust 127 SLoC Shell 8 SLoC

Diwata CLI

This repo is part of diwata project.

This contains a precompiled static html files which you can compile yourself refer to the main diwata project.


If you have an existing postgresql database, you can quickly open it using the app by:

cargo install diwata_cli
diwata_cli --db-url postgres://user:passwd@localhost:5432/dbname -p 8000 --open

You can also open sqlite database. Download this sqlite sample db You can then open it by issuing the command

diwata_cli --db-url sqlite://sakila.db  -p 80001 --open
    diwata_cli [OPTIONS]

    -h, --help       Prints help information
    -V, --version    Prints version information

    -a, --address <address>    The address the server would listen, default is [default:]
    -u, --db-url <db_url>      Database url to connect to, when set all data is exposed without login needed in the
                               client side
    -p, --port <port>          What port this server would listen to, default is 8000 [default: 8000]


~585K SLoC