Slang is a YAML based language for writing human-readable workflows for score. This project includes the CLI to trigger flows.
Pre-Requisite: Java JRE >= 7
- Download the slang zip from here.
- Unzip it.
- Go to the folder /slang/bin/
- Run the executable :
- For Windows : slang.bat
- For Linux : bash slang
- Run the Docker example flow: run --f ../content/org/openscore/slang/docker/containers/demo_dev_ops.sl --cp ../content/ --inputs dockerHost=[dockerHost],dockerUsername=[dockerHostUser],dockerPassword=[dockerHostPasword],emailHost=[emailHost],emailPort=[Emailport],emailSender=[EmailSender],emailRecipient=[EmailRecipient]
All documentation is available on the openscore website.
Contact us at here.
Building and Testing from Source
- maven version >= 3.0.3
- Java JDK version >= 7
git clonethe source code
mvn clean install
- Run the CLI executable from score-lang-cli\target\slang\bin
Another way of getting the score command line interface.
The score command line interface.
Install this globally and you'll have access to the
slang command anywhere on your system.
npm install -g score-cli
Now you can just use the
slang command anywhere
Refer to openscore website for more information.
Node.js & Java installed.
score-cli page in the NPM repository.