Follow these steps to build the CLI and run your first script:
- Configure the project with CMake:
cmake -S . -B out/build - Build the executable:
cmake --build out/build
- Run the bundled example in dry-run mode (skips actual delays):
./out/build/clrnet run examples/scripts/hello.clr --dry-run
- Explain the script to see each step:
./out/build/clrnet explain examples/scripts/hello.clr
- Generate a starter script:
./out/build/clrnet init my-script-directory
For more details about the script language see docs/SCRIPT_REFERENCE.md.