From c9a170ebb36e68f82a0fc8864b2f5df5371c4fe1 Mon Sep 17 00:00:00 2001 From: Eric Willigers Date: Tue, 27 May 2025 17:33:52 +1000 Subject: [PATCH] CLI: describe the slug placeholder --- building/tooling/cli.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/building/tooling/cli.md b/building/tooling/cli.md index 83d79b13..e7c0511c 100644 --- a/building/tooling/cli.md +++ b/building/tooling/cli.md @@ -10,10 +10,11 @@ You can add support for your language by adding an entry to that [configuration ### Test command placeholders -There are two placeholders that can be used in the track-specific command: +There are three placeholders that can be used in the track-specific command: - `{{test_files}}`: a space-separated list of the test files (as found in the `.files.test` key in the exercise's `.meta/config.json` file) - `{{solution_files}}`: a space-separated list of the solution files (as found in the `.files.solution` key in the exercise's `.meta/config.json` file) +- `{{slug}}`: the exercise slug (as found in the exercise's `slug` key in the tracks's root `config.json` file) Here is an [example pull request][example-pr] that adds support for the Arturo language.