summaryrefslogtreecommitdiff
path: root/process-templates
diff options
context:
space:
mode:
Diffstat (limited to 'process-templates')
-rwxr-xr-xprocess-templates4
1 files changed, 4 insertions, 0 deletions
diff --git a/process-templates b/process-templates
index 8f24d921..d11a8fe8 100755
--- a/process-templates
+++ b/process-templates
@@ -5,6 +5,10 @@ from pathlib import Path
import os
import sys
+if len(sys.argv) != 2:
+ print(f"Usage: {sys.argv[0]} <path>")
+ sys.exit(1)
+
ROOT_DIR = Path(sys.argv[1])
TEMPLATE_PATH_LIST = [ROOT_DIR, "templates/"]