Add company filter to Lob list addresses

...even though I never made it actually work.
This commit is contained in:
Eli Ribble 2026-04-20 22:33:20 +00:00
parent ffd424df12
commit 8387cf667b
No known key found for this signature in database
7 changed files with 42 additions and 6 deletions

View file

@ -2,6 +2,7 @@ package main
import (
"context"
"flag"
"log"
"os"
@ -9,6 +10,11 @@ import (
)
func main() {
company := flag.String("company", "", "Filter by addresses belonging to a particular company")
flag.Parse()
log.Printf("%s", company)
key := os.Getenv("LOB_API_KEY")
if key == "" {
log.Println("LOB_API_KEY is empty")