CmdID

CmdID / Commands

rsql

SQL client to interface with databases and other data sources inside the terminal. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Enter interactive mode

Connect to a database (e.g. PostgreSQL)

rsql --url "postgresql://user:pass@localhost/mydb"Identify

Connect to a PostgreSQL database with SSL

rsql --url "postgresql://user:pass@localhost/db?sslmode=require"Identify

Connect to a MySQL database with a specified charset

rsql --url "mysql://user:pass@localhost/db?charset=utf8mb4"Identify

Run a query and exit

rsql --url "sqlite://database.db" -- "SELECT * FROM users LIMIT 10"Identify

Set default format

rsql --url "sqlite://db.sqlite" --format jsonIdentify

Connect to file and use custom line separator

rsql --url "delimited://data.txt?separator="Identify