jw-pkg/src/python/jw/pkg
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann 1349665c39
cmds.projects.CmdCreateFile: Add --field-separator option
List values in a rendered template are joined with a fixed separator of
",\n" (comma plus newline), and there is no way to change that. Templates
sometimes want a different separator, e.g. a plain newline or a single-line
comma-separated list.

Add a --field-separator option that controls how list values are joined
in the rendered output. %n expands to a newline, and the default remains
",\n" for both formats. render_tmpl() applies the separator to the rendered
template, while render_pyright() rejects any other value: the built-in
pyrightconfig.json template is a fixed JSON document, and no alternative
separator is supported for it.

Update the help output test expectation accordingly.

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
..
cmds cmds.projects.CmdCreateFile: Add --field-separator option 2026-09-13 22:31:25 +02:00
lib lib.version.Dependency: Reject unsupported spec operators 2026-09-11 11:22:33 +02:00
__init__.py jw.pkg.__init__.py: Add file to Git 2026-06-01 14:32:44 +02:00
App.py lib.version.Dependency: Reject unsupported spec operators 2026-09-11 11:22:33 +02:00
CmdBase.py py-check.mk: Run isort with "make format" 2026-08-11 16:45:14 +02:00
Makefile jw.pkg.__init__.py: Add file to Git 2026-06-01 14:32:44 +02:00
py.typed jw/pkg/py.typed: Add file 2026-05-31 18:21:20 +02:00