waveterm/scripthaus.md

17 lines
361 B
Markdown
Raw Normal View History

2022-07-01 23:45:33 +02:00
# SH2 Server Commands
```bash
# @scripthaus command dump-schema-dev
sqlite3 /Users/mike/prompt-dev/prompt.db .schema > db/schema.sql
2022-07-01 23:45:33 +02:00
```
```bash
# @scripthaus command opendb-dev
sqlite3 /Users/mike/prompt-dev/prompt.db
2022-07-01 23:45:33 +02:00
```
```bash
# @scripthaus command build
2023-02-24 00:17:47 +01:00
go build -ldflags "-X main.BuildTime=$(date +'%Y%m%d%H%M')" -o ~/prompt-dev/local-server ./cmd
```