summaryrefslogtreecommitdiff
path: root/cli/base.py
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2024-05-09 13:52:23 +0200
committerYuval Adam <_@yuv.al>2024-05-10 12:55:22 +0200
commita2409a50c65a140319bfc99531dcc4d2354e4514 (patch)
treec1b613b1bd4ffcd81fb1f6ab8a64e8d8253d3d19 /cli/base.py
parent2b18b6abbdc20e94292e4eb4e86b52856a1461b5 (diff)
Migrate build script to use ymlstash
Diffstat (limited to 'cli/base.py')
-rw-r--r--cli/base.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/base.py b/cli/base.py
index 6250192..e76da9d 100644
--- a/cli/base.py
+++ b/cli/base.py
@@ -1,10 +1,14 @@
import click
+import ymlstash
from pathlib import Path
+from .model import Name
ROOT_PATH = Path(__file__).parents[1]
NAMES_DIR = ROOT_PATH / "names"
+STASH = ymlstash.YmlStash(Name, NAMES_DIR, filter_none=True)
+
@click.group
def cli():