From 60cc6f00f681f09c2dbf8aa61b20570370e67efb Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Fri, 13 Feb 2026 20:36:16 -0800 Subject: refactor: remove TUI and dependencies (NK-revert-tui) --- main.go | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'main.go') 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 -- cgit v1.2.3