CLICK-EXTRA-PREBAKE-FIELD(1) CLICK-EXTRA-PREBAKE-FIELD(1)

click-extra prebake field - Replace an empty dunder variable with a value.

click-extra prebake field [OPTIONS] NAME VALUE

Replace an empty dunder variable with a value.

NAME is the template field name (like `git_tag_sha`) or the full dunder name (like `__git_tag_sha__`). Double underscores are added automatically when missing.

VALUE is the string to inject.

Only modifies variables that are currently empty. Already-populated values are left untouched (idempotent).

NAME

Path to __init__.py to modify. Auto-discovered from the console scripts in pyproject.toml or setup.cfg if not provided.
Show this message and exit.

Path to __init__.py to modify. Auto-discovered from the console scripts in pyproject.toml or setup.cfg if not provided.
Show this message and exit.

0
Success.
1
A runtime error, an aborted prompt (Ctrl-D), or a declined confirmation.
2
A usage error: unknown option, invalid value, missing operand, or an unparsable configuration file.
130
Interrupted with Ctrl-C: the process ends by SIGINT, reported as 130.

Kevin Deldycke

2026-10-21 9.5.0.dev0