kale is a command line tool for provisioning and configuring the IBM Watson
Retrieve and Rank
Service
and the IBM Watson Document Conversion
Service.
Download the kale tool from our
releases.
Recommendation: create a short alias to setup a command named kale.
On Linux, OSX and other Unix-style systems, the alias command can be used like this:
alias kale="java -jar /full/path/to/kale-1.3.0-standalone.jar"
And on Windows, the doskey command can be used like this:
doskey kale=java -jar C:\full\path\to\kale-1.3.0-standalone.jar $*
Now the kale command should be available. Try:
kale help
Get the Leiningen tool, lein, from http://leiningen.org/, and put it
on your PATH. On Mac OSX, brew install leiningen works well. Most
Linux package managers do not do a good job of packaging Leiningen, so
please do the direct installation from http://leiningen.org/.
$ lein testOr, to run the tests and produce a code coverage report:
$ lein cloverage$ lein run <command>$ lein uberjar
Compiling ...
...
Created .../kale/target/uberjar/kale-1.4.0-SNAPSHOT.jar
Created .../kale/target/uberjar/kale-1.4.0-SNAPSHOT-standalone.jarNow you can run the tool with a simple java command line:
$ java -jar target/uberjar/kale-1.4.0-SNAPSHOT-standalone.jarTo make running kale easier, it's recommended that you create an alias (see
instructions under "Setup and run").
All code contained within this project repository or any subdirectories is licensed according to the terms of the MIT license, which can be viewed in the file LICENSE.
By submitting any contributions to this project implicitly you agree to the terms of the contributors license agreement located in the file CLA.md.