]> apps.delaporte.us Git - matrix-cadbury.git/commitdiff
Add CLI setup
authorEdward Delaporte <edward@delaporte.us>
Sat, 28 Mar 2026 01:53:49 +0000 (20:53 -0500)
committerEdward Delaporte <edward@delaporte.us>
Sat, 28 Mar 2026 01:53:49 +0000 (20:53 -0500)
Makefile
tasks.py [new file with mode: 0644]

index 483fe60c221f9f15a67a408feeabd904e5227735..fe751b6abb82240422598f77047cb875fec220db 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,10 @@
 serve: .venv
        .venv/bin/python app.py
 
+setup:
+       .venv/bin/invoke goals.setup
+       .venv/bin/invoke chores.setup
+
 clean:
        rm -rf .venv
        rm -f session.txt  # Reset session
diff --git a/tasks.py b/tasks.py
new file mode 100644 (file)
index 0000000..a0e8b40
--- /dev/null
+++ b/tasks.py
@@ -0,0 +1,7 @@
+from invoke import Collection
+from matrix_goal_bot import tasks as goals
+from matrix_chore_bot import tasks as chores
+
+ns = Collection()
+ns.add_collection(goals, 'goals')
+ns.add_collection(chores, 'chores')