From 0c6e2ae64c5adccd9f2d66bbc0289db694b42287 Mon Sep 17 00:00:00 2001 From: Marc Prud'hommeaux Date: Wed, 3 Jan 2018 04:08:05 -0500 Subject: [PATCH] Added sqlline example (#727) Added sqlline example --- README.md | 13 +++++++++++++ doc/README.md | 13 +++++++++++++ 2 files changed, 26 insertions(+) diff --git a/README.md b/README.md index ec74e61ca..d3a04ab6f 100644 --- a/README.md +++ b/README.md @@ -336,6 +336,19 @@ $ ./coursier launch net.sf.proguard:proguard-retrace:5.2.1 -M proguard.retrace.R --proxy-all="http://search.twitter.com" --record-mappings --verbose ``` +* SQLLine, + +``` +$ ./coursier launch \ + sqlline:sqlline:1.3.0 \ + org.postgresql:postgresql:42.1.4 \ + -M sqlline.SqlLine -- \ + -d org.postgresql.Driver \ + -n USERNAME \ + -p PASSWORD \ + -u jdbc:postgresql://HOST:PORT/DATABASE +``` + If you wish to pass additional argument to the artifact being launched, separate them from the coursier's parameters list with the "--", just like in the Wiremock example above. #### fetch diff --git a/doc/README.md b/doc/README.md index 2e6c3a0c6..6f991231f 100644 --- a/doc/README.md +++ b/doc/README.md @@ -364,6 +364,19 @@ $ ./coursier launch net.sf.proguard:proguard-retrace:5.2.1 -M proguard.retrace.R --proxy-all="http://search.twitter.com" --record-mappings --verbose ``` +* SQLLine, + +``` +$ ./coursier launch \ + sqlline:sqlline:1.3.0 \ + org.postgresql:postgresql:42.1.4 \ + -M sqlline.SqlLine -- \ + -d org.postgresql.Driver \ + -n USERNAME \ + -p PASSWORD \ + -u jdbc:postgresql://HOST:PORT/DATABASE +``` + If you wish to pass additional argument to the artifact being launched, separate them from the coursier's parameters list with the "--", just like in the Wiremock example above. #### fetch