Closed rgaudin closed 4 years ago
Currently, we statically use whatever is provided as --zim-file as file path for the ZIM output (zimwriterfs argument).
--zim-file
It's uncommon to set it though, as users use --name (which is mandatory) and that also sets the ZIM file to {name}_{period}.zim.
--name
{name}_{period}.zim
With this user has control over the filename but can't have a dynamic zim filename that includes the period (YYYY-MM).
YYYY-MM
We should thus allow the substitution of {period} in --zim-file to satisfy all those conditions.
{period}
Currently, we statically use whatever is provided as
--zim-file
as file path for the ZIM output (zimwriterfs argument).It's uncommon to set it though, as users use
--name
(which is mandatory) and that also sets the ZIM file to{name}_{period}.zim
.With this user has control over the filename but can't have a dynamic zim filename that includes the period (
YYYY-MM
).We should thus allow the substitution of
{period}
in--zim-file
to satisfy all those conditions.