Commit 42af75a
committed
feat: allow --_varname CLI flags without frontmatter declaration
Template variables can now be passed via CLI without pre-declaring
them in frontmatter. If not provided, they still prompt for input.
Example - no frontmatter needed:
md task.claude.md --_strict yes
The variable is used in the body as {{ _strict }}1 parent 37fedc8 commit 42af75a
1 file changed
+17
-0
lines changed| 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 | + | |
380 | 397 | | |
381 | 398 | | |
382 | 399 | | |
| |||
0 commit comments