move cli to it's own folder

This commit is contained in:
Anish Lakhwara 2024-08-31 18:09:34 -07:00
parent a125a605ed
commit 2227273dd3

View file

@ -7,7 +7,7 @@ import (
"log"
"os"
"mast/db"
mast "mast/db"
"github.com/charmbracelet/bubbles/textinput"
tea "github.com/charmbracelet/bubbletea"
@ -89,6 +89,8 @@ func (m *model) addTodo(todo string) {
panic(err)
}
// TODO:
// func sync_changes
rows, err := m.db.Query("SELECT * FROM crsql_changes")
if err != nil {
log.Println("Error querying crsql_changes:", err)