waveterm/wavesrv/scripthaus.md

352 B

SH2 Server Commands

# @scripthaus command dump-schema-dev
sqlite3 /Users/mike/prompt-dev/prompt.db .schema > db/schema.sql
# @scripthaus command opendb-dev
sqlite3 /Users/mike/prompt-dev/prompt.db
# @scripthaus command build
go build -ldflags "-X main.BuildTime=$(date +'%Y%m%d%H%M')" -o bin/local-server ./cmd