Build and packaging library
  • Python 54.3%
  • Makefile 33.2%
  • Shell 12.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann 7f9f65153f
cmds.projects.CmdCreateFile: Add --field-keys option
The --field option accepts arbitrary KEY=VALUE pairs, inserting them into
the rendered template output, but there is no way to declare which keys
a template actually supports. Passing a key the template does not use goes
unnoticed, and a template cannot offer optional fields that drop out of
the output when not supplied.

Add a --field-keys option, a comma-separated list of the keys a template
accepts. Passing a key via --field that is not in that list is an error,
and keys from the list that are not passed are added with an empty value,
so the respective field renders as empty and effectively drops out of the
output.

Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v0.85.1
Signed-off-by: Jan Lindemann <jan@janware.com>
2026-09-13 22:31:25 +02:00
.github/workflows ci.yaml: test-packaging.yaml@{master-test -> master} 2026-06-08 19:43:15 +02:00
bin bin, make, scripts: Re-add files necessary for packaging jw-build 2025-11-14 11:22:50 +01:00
conf conf / scripts: Fix unprivileged "make install" 2026-08-18 17:27:32 +02:00
doc doc: Add subdir 2026-08-19 20:51:11 +02:00
make py-topdir.mk: Add test tree to default check roots 2026-09-13 16:08:51 +02:00
scripts python-tools.sh: Annotate generated conftest.py 2026-09-13 15:42:29 +02:00
src cmds.projects.CmdCreateFile: Add --field-keys option 2026-09-13 22:31:25 +02:00
test cmds.projects.CmdCreateFile: Add --field-keys option 2026-09-13 22:31:25 +02:00
.gitignore cache.mk: Include from topdir.mk, not make.mk 2026-07-22 14:38:24 +02:00
HASH Release 1.0.0-263@suse-tumbleweed/x86_64 2026-09-11 23:37:23 +00:00
Makefile cache.mk: Include from topdir.mk, not make.mk 2026-07-22 14:38:24 +02:00
RELEASES Release 1.0.0-263@suse-tumbleweed/x86_64 2026-09-11 23:37:23 +00:00
VERSION Start version: 1.0.0-263 2026-09-11 23:10:53 +00:00