Skip to content

Replace Tera template args with usage-based variables#216

Open
just-be-dev wants to merge 1 commit into
mainfrom
drop-tera-args
Open

Replace Tera template args with usage-based variables#216
just-be-dev wants to merge 1 commit into
mainfrom
drop-tera-args

Conversation

@just-be-dev
Copy link
Copy Markdown
Owner

Summary

Migrates mise task argument handling from Tera template syntax ({{arg(name="...")}}) to usage-based variables ($usage_<name>).

Changes across three task definitions in mise.toml:

  • debug task: schema argument
  • example:python task: example argument (adds explicit usage block)
  • example:deno task: example argument (adds explicit usage block)

Test plan

  • Verify mise run debug <schema> passes the argument through correctly
  • Verify mise run example:python <example> runs the named example
  • Verify mise run example:deno <example> runs the named example

Migrate from {{arg(name="...")}} syntax to $usage_<name> variables:
- debug task: schema argument
- example:python task: example argument (also add explicit usage block)
- example:deno task: example argument (also add explicit usage block)

Aligns with the new mise task argument handling approach.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant