Files
osxphotos/utils/build_help_table.py
2020-03-22 14:15:08 -07:00

9 lines
287 B
Python

""" Builds the template table in markdown format for README.md """
from osxphotos.template import TEMPLATE_SUBSTITUTIONS
print("| Substitution | Description |")
print("|--------------|-------------|")
for subst, descr in TEMPLATE_SUBSTITUTIONS.items():
print(f"|{subst}|{descr}|")