Add a meaningful error to process-templates
This commit is contained in:
parent
7ce78d7636
commit
5371c75dc6
@ -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/"]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user