feat: open proxy token file

This commit is contained in:
2026-06-16 15:00:43 -04:00
parent 2cedcf448c
commit a589341214
6 changed files with 107 additions and 24 deletions

View File

@@ -29,9 +29,15 @@ func runClient(args []string, openerName string) int {
return 2
}
token, err := envToken()
if err != nil {
fmt.Fprintf(os.Stderr, "open: %v\n", err)
return 1
}
c := &client{
base: "http://" + envAddr(),
token: envToken(),
token: token,
}
exit := 0