Skip to main content

Your first toolchain

Let's write a "hello world" toolchain. Start with creating a file named hello-world.cli

hello-world(location l: arg) {
action <% echo Hello World from $(location) %>
}

Install this via

Console
$ climat install hello-world.cli
caution

On Linux or other *NIX systems, you might need to run the installation command from above as super user (eg. sudo climat install hello-world.cli)

On Windows systems, it might be necessary to add certain directory to system PATH. Follow the installation warnings for more information

Your first toolchain is ready to use:

$ hello-world Cluj-Napoca
Hello World from Cluj-Napoca

Now, the sky is the only limit!

Check out the Cli DSL reference to see what you can build with CLiMAT!