Add a standalone worker installer and dynamic userservice port

This commit is contained in:
Emil
2026-08-02 22:23:54 +03:00
parent 9b0b9b208a
commit 76746187eb
5 changed files with 91 additions and 30 deletions
+3
View File
@@ -30,16 +30,19 @@ func main() {
switch args[0] {
case "setup":
if err := runSetup(args[1:]); err != nil {
fmt.Fprintln(os.Stderr, "setup:", err)
os.Exit(1)
}
return
case "serve":
if err := runServe(args[1:]); err != nil {
fmt.Fprintln(os.Stderr, "serve:", err)
os.Exit(1)
}
return
case "agent":
if err := runAgent(args[1:]); err != nil {
fmt.Fprintln(os.Stderr, "agent:", err)
os.Exit(1)
}
return