feat: list fontfiles in verbose mode

This commit is contained in:
Daylin Morgan 2023-01-03 11:35:53 -06:00
parent e21ccaf8aa
commit 61f8973bdf

View file

@ -215,7 +215,10 @@ def main():
fp_args = " ".join(fp_args) fp_args = " ".join(fp_args)
if fp_args: if fp_args:
echo(f"Flags passed to font-patcher: {fp_args}") echo(f"Flags passed to font-patcher: {fp_args}")
if args.verbose:
echo(f"Patching the following files")
for fontfile in args.font_path:
sys.stdout.write(f" {color.cyan}->{color.end} {fontfile}\n")
if args.docker: if args.docker:
echo("==> DOCKER MODE ENABLED") echo("==> DOCKER MODE ENABLED")
for font_dir in collect_files_by_dir(args.font_path): for font_dir in collect_files_by_dir(args.font_path):