Commit f2c97a3
committed
feat: support positional args as template variables (_1, _2, etc.)
Positional CLI arguments can now be referenced in the body using
{{ _1 }}, {{ _2 }}, etc. template syntax.
Example:
md translate.claude.md "bread" "taco"
With body:
Translate to french: {{ _1 }}
Translate to spanish: {{ _2 }}1 parent d75404b commit f2c97a3
1 file changed
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
380 | 405 | | |
381 | 406 | | |
382 | 407 | | |
| |||
0 commit comments