Added sqlline example (#727)

Added sqlline example
This commit is contained in:
Marc Prud'hommeaux 2018-01-03 04:08:05 -05:00 committed by Alexandre Archambault
parent 085002957d
commit 0c6e2ae64c
2 changed files with 26 additions and 0 deletions

View File

@ -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 File

@ -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