Get Started

It’s easy to get started running CloudSlang flows, especially using the CLI and ready-made content.

Download, Unzip and Run

  • Download the CLI zip file.
  • Unzip the archive.
  • Run the CloudSlang executable.
  • At the prompt enter:
run --f ../content/io/cloudslang/base/print/print_text.sl --i text=Hi
  • The CLI will run the ready-made print_text operation that will print the value passed to the variable text to the screen.

Docker

  • docker pull cloudslang/cloudslang
  • docker run -it cloudslang/cloudslang
  • At the prompt enter:
run --f ../content/io/cloudslang/base/print/print_text.sl --i text=Hi

Or, to run the flow without the prompt:

docker run --rm -ti cloudslang run --f ../content/io/cloudslang/base/print/print_text.sl --i text=first_flow
  • The CLI will run the ready-made print_text operation that will print the value passed to the variable text to the screen.

Next Steps

Now that you’ve run your first CloudSlang file, you might want to: