fix(coding-agent): support all-argument prompt defaults closes #6695

This commit is contained in:
David Brailovsky
2026-07-17 13:52:32 +02:00
parent ce48d9b4ef
commit 64f83c85d9
4 changed files with 17 additions and 5 deletions
@@ -69,6 +69,7 @@ Templates support positional arguments, defaults, and simple slicing:
- `$1`, `$2`, ... positional args
- `$@` or `$ARGUMENTS` for all args joined
- `${1:-default}` uses arg 1 when present/non-empty, otherwise `default`
- `${@:-default}` or `${ARGUMENTS:-default}` uses all arguments when present/non-empty, otherwise `default`
- `${@:N}` for args from the Nth position (1-indexed)
- `${@:N:L}` for `L` args starting at N