Permalink
Browse files

Added sqlline example (#727)

Added sqlline example
  • Loading branch information...
marcprux authored and alexarchambault committed Jan 3, 2018
1 parent 0850029 commit 0c6e2ae64c5adccd9f2d66bbc0289db694b42287
Showing with 26 additions and 0 deletions.
  1. +13 −0 README.md
  2. +13 −0 doc/README.md
View
@@ -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
View
@@ -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

0 comments on commit 0c6e2ae

Please sign in to comment.