aboutsummaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-13 20:36:16 -0800
committerAdam Mathes <adam@adammathes.com>2026-02-13 20:36:16 -0800
commit60cc6f00f681f09c2dbf8aa61b20570370e67efb (patch)
tree712315d3131869a07dae3302810c179baa2eacc7 /main.go
parent3518c03449eb6f4deb89583c2bcb250431c126ef (diff)
downloadneko-60cc6f00f681f09c2dbf8aa61b20570370e67efb.tar.gz
neko-60cc6f00f681f09c2dbf8aa61b20570370e67efb.tar.bz2
neko-60cc6f00f681f09c2dbf8aa61b20570370e67efb.zip
refactor: remove TUI and dependencies (NK-revert-tui)
Diffstat (limited to 'main.go')
-rw-r--r--main.go10
1 files changed, 3 insertions, 7 deletions
diff --git a/main.go b/main.go
index ade5197..b49eb36 100644
--- a/main.go
+++ b/main.go
@@ -10,7 +10,7 @@ import (
"adammathes.com/neko/exporter"
"adammathes.com/neko/models"
"adammathes.com/neko/models/feed"
- "adammathes.com/neko/tui"
+
"adammathes.com/neko/vlog"
"adammathes.com/neko/web"
flag "github.com/ogier/pflag"
@@ -26,7 +26,7 @@ func main() {
}
func Run(args []string) error {
- var help, update, verbose, proxyImages, tuiMode bool
+ var help, update, verbose, proxyImages bool
var configFile, dbfile, newFeed, export, password string
var port, minutes int
@@ -46,7 +46,7 @@ func Run(args []string) error {
f.IntVarP(&port, "http", "s", 0, "HTTP port to serve on")
f.IntVarP(&minutes, "minutes", "m", 0, "minutes between crawling feeds")
f.BoolVarP(&proxyImages, "imageproxy", "i", false, "rewrite and proxy all image requests for privacy (experimental)")
- f.BoolVarP(&tuiMode, "tui", "t", false, "launch terminal UI")
+
f.BoolVarP(&verbose, "verbose", "v", false, "verbose output")
// passwords on command line are bad, you should use the config file
@@ -111,10 +111,6 @@ func Run(args []string) error {
return nil
}
- if tuiMode {
- return tui.Run()
- }
-
// For testing, we might want to avoid starting a web server
if config.Config.Port == -1 {
return nil