cmds.secrets.CmdCompileTemplates: Support -k / --keep-going #160
Loading…
Reference in a new issue
No description provided.
Delete branch "jan/feature/20261029-cmds-secrets-cmdcompiletemplates-support-k-keep-going"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
cmds.secrets.CmdCompileTemplates: Support -k / --keep-going
jw-pkgsecrets compile-templates iterates over all selected templates and compiles secrets from it - unless it encounters one that can't be compiled for whatever reason, in which case the iteration errors out without compiling the remaining secrets.Add a -k /
--keep-goingoption that makes the iteration not abort over failed compilations but continue through the remaining templates, then report an error status at the end.The integration test gains a good sibling of the failing fixture template: a fail-fast run must not reach it, and a keep-going run must compile it and still fail the command.
a29af550c44691f38eec