janken
v0.0.0
Published
Because [rock, paper, scissors](https://jet.fandom.com/wiki/Janken) is just as serious as your database.
Downloads
3
Readme
janken
Because rock, paper, scissors is just as serious as your database.
Version: 0.0.0 (hardly usable)
A universal database terminal client built with Ink.
Until this TODO is solved, I recommend not using this. Version 0.1.0 will be a usuable release.
Installation
- Clone this repository
- cd to directory and
npm install
- Build the project:
npm run build
- Link compiled code to
janken
by running:npm link
You can now run janken
Setup
janken init
- Name your connecton
- Enter your connection string in this form:
provider://username:passsword@host/database
- Example:
postgres://pguser:pgPA$$@localhost/mydb
Currently supported databases
- PostgreSQL
- MySQL
Configuration
janken's configuration file is stored in your home directory under .janken
.
Example:
/home/user/.janken
An example of what is currently stored in the configuration file:
[
{
"connectionName": "PG",
"connectionString": "postgres://postgres:postgres@localhost/pgdb"
}
]