add csv reading, routing

This commit is contained in:
2026-03-30 21:42:52 +01:00
parent 153dc64f60
commit a98ef28055
5 changed files with 141 additions and 22 deletions
+7
View File
@@ -0,0 +1,7 @@
package internal
type CLI struct {
File string `arg:"" name:"file" short:"f" help:"Path to CSV redirects file." type:"path"`
Host string `name:"host" help:"HTTP listen host." default:"${host}"`
Port string `name:"port" short:"p" help:"HTTP listen port." default:"${port}"`
}