FoundationDB/sql-layer-client-tools — pull request #32 by nathanlws (2014-01-06 17:00:55+00:00)
Title: Abstract input and output

Mostly in preparation of \i and \o but also results in much cleaner handling of -c and -f.

As a side effect, warnings and errors now go to stderr properly.

Fix piping into e.g. less by skipping jline as it handles it poorly. Luckily jansi-native was already bundled as there are, apparently, very few options to get a Java isatty-alike.