Writing a Command-Line Database Client in 10 Minutes Using OCLIF with TypeScript

Follow along how I build a command line tool for querying Neo4j in TypeScript

Using the OCLIF (the Open Source Command Line Framework) by SalesForce/Heroku and the Neo4j-Javascript-Driver this was really easy and fast.

The driver sends Cypher queries via the binary Bolt protocol to the database and also handles smart routing, transactions, and retries.

For a pretty output, I chose ascii-table a neat JS library to produce pretty tables for the terminal.

Sorry for the noise, QuickTime added it thankfully after I cut out some “waiting for npm scenes”