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 (e.g. git_tag_sha) or the full dunder name (e.g. __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 [project.scripts] if not provided.
Show this message and exit.

Path to __init__.py to modify. Auto-discovered from [project.scripts] if not provided.
Show this message and exit.

0
Success.
1
A runtime error, or an aborted prompt (Ctrl-C, a declined confirmation).
2
A usage error: unknown option, invalid value, missing operand, or an unparsable configuration file.

Kevin Deldycke

2026-06-15 7.20.0.dev0