You are able to pass scripts as an input to CleverAnalytics CleverMaps Shell.
The script may contain command sequences, equal to those you put in the through the standard input.
...
Code Block | ||
---|---|---|
| ||
./ ../ cancm_shell.sh cancm-shell-1.13.0-RELEASE-SNAPSHOTexec.jar script.txt |
The contents of script.txt
are following:
Code Block | ||
---|---|---|
| ||
login --server https://secure.cleveranalyticsclevermaps.comio openProject --project abcdefgh12345678 loadCsv --file /home/user/CAN/orders.csv --dataset orders --mode incremental loadCsv --file /home/user/CAN/customers.csv --dataset customers --mode incremental dumpCsv --dataset stores exit |
...
Code Block | ||
---|---|---|
| ||
java -jar cancm-shell-1.13.0-RELEASE-SNAPSHOTexec.jar --cmdfile script.txt |
...