Add package initialization subcommand and package
All checks were successful
CI / release-test (push) Successful in 26s
All checks were successful
CI / release-test (push) Successful in 26s
This commit is contained in:
6
pkg/codegen/tpl/reset.sh
Normal file
6
pkg/codegen/tpl/reset.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
rm sample_data/data/* || true
|
||||
|
||||
go run ./cmd init
|
||||
sqlite3 sample_data/data/{{ .DBFilename }} < sample_data/seed.sql
|
||||
Reference in New Issue
Block a user