move cli to it's own folder
This commit is contained in:
parent
a125a605ed
commit
2227273dd3
|
@ -7,7 +7,7 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"mast/db"
|
mast "mast/db"
|
||||||
|
|
||||||
"github.com/charmbracelet/bubbles/textinput"
|
"github.com/charmbracelet/bubbles/textinput"
|
||||||
tea "github.com/charmbracelet/bubbletea"
|
tea "github.com/charmbracelet/bubbletea"
|
||||||
|
@ -89,6 +89,8 @@ func (m *model) addTodo(todo string) {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO:
|
||||||
|
// func sync_changes
|
||||||
rows, err := m.db.Query("SELECT * FROM crsql_changes")
|
rows, err := m.db.Query("SELECT * FROM crsql_changes")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Println("Error querying crsql_changes:", err)
|
log.Println("Error querying crsql_changes:", err)
|
Loading…
Reference in a new issue