add export-db task

This commit is contained in:
Yanick Champoux 2024-02-04 14:08:53 -05:00
parent 2d7c36519e
commit 20ae499852

View File

@ -6,6 +6,10 @@ vars:
GREETING: Hello, World! GREETING: Hello, World!
tasks: tasks:
export-db:dev:
cmds:
- sqlite3 games.db '.mode json' '.once static/dev/games.json' 'select * from game'
deploy: deploy:
deps: [build] deps: [build]
cmds: cmds: