CommandLine - gquintana/beepbeep GitHub Wiki
Command line
$ bin/beepbeep.sh -t elasticsearch -d http://localhost:9200 -s .beepbeep/script -f 'script/*.json'
Installation
- Install Java 8 runtime
- Get the
beepbeep-x.y.z-bin.zip
, for exemple in Sonatype OSS Repository https://oss.sonatype.org/service/local/repositories/releases/content/com/github/gquintana/beepbeep/beepbeep/0.1.1/beepbeep-0.1.1-bin.zip - Unzip the archive
Arguments
Name | Description | Example |
---|---|---|
--help (-h) |
Display help | |
--type (-t) VAL |
Connection and pipeline type | sql , elasticsearch , http |
--url (-d) VAL |
Connection URL | http://server:9200 , jdbc:mysql://server:3306 |
--username (-u) VAL |
Connection username | |
--password (-p) VAL |
Connection password | |
--files (-f) VAL |
File glob describing scripts to run. Warning: see below | /folder/**/prefix*.ext |
--store (-s) VAL |
Table/collection/index to store ran script and not execute them again | |
--config (-c) VAL |
YAML Configuration file location | config/sql.yml |
--verbose (-v) |
Verbose, print execution results |
Warning: file globs must always me wrapped in single quotes to avoid file expansion at shell script level