Updated README.md to document template system

This commit is contained in:
Rhet Turnbull
2020-03-22 14:15:08 -07:00
parent d769dde358
commit 564a5073f1
2 changed files with 142 additions and 23 deletions

View File

@@ -0,0 +1,8 @@
""" 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}|")