Is there an issue/pr/library for that work? It will very much enter the toolbox for all situations if that can happen :-) (Looking for something better than sqlplus is always why I end up looking into usql...)
usql is super cool, thank you for all the work you've done with it :-)
My goal is to get rid of all the non-Go dependencies, which would (for the first time, ever) finally make it a reality to have a single, small binary that can connect to "every" database and that can be freely distributed. If you'd like to help, please feel free to start an implementation. While I'm not following a specific development routine for the native Oracle driver, I do have a repository with a bunch of (non-building) code that I made to assist with inspecting the raw protocol captures.
For instance to support clusters and failover.
Business as usual for Oracle and their horrible ethics...
$ ./usql
Type "help" for help.
(not connected)=>
You are using usql, ...
Type: \copyright for distribution terms
\? for help with usql commands
\g or terminate with semicolon ...
\q to quit
(not connected)=> \q
$
Is this expected?Edit: I'm using the binary package on macOS 10.12.6.
You can either try disabling syntax highlighting completely ( \set SYNTAX_HL false ) or change the Chroma style used ( \set SYNTAX_HL_STYLE paraiso-light )
See this page: https://xyproto.github.io/splash/docs/all.html for an example of what the various Chroma styles should look like.
...and although I'm not familiar with all of the others in that list, the ones that I do recognise have ODBC drivers.
If you've not seen usql before, it's a universal command-line client for SQL databases (and now also Cassandra), modeled on psql. usql makes it easy to work from the command-line, in a simple and consistent way across any database and on any platform (Windows, macOS, Linux). usql is written in Go, and provides things like syntax highlighting and compatibility with databases other than PostgreSQL (see below for the list of the supported databases).
Progress is moving at a decent clip towards a v1.0, which I expect to include 100% native Go support for Oracle databases, tab-completion, full compatibility with psql's \pset (and other output formatting) commands.
usql supports the following databases:
Hope others in the community can make use of usql. Glad to answer any questions if anyone has any.