summaryrefslogtreecommitdiff
path: root/srv/cmd/mailinglist-cli/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'srv/cmd/mailinglist-cli/main.go')
-rw-r--r--srv/cmd/mailinglist-cli/main.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/srv/cmd/mailinglist-cli/main.go b/srv/cmd/mailinglist-cli/main.go
index 80fde25..a44dadd 100644
--- a/srv/cmd/mailinglist-cli/main.go
+++ b/srv/cmd/mailinglist-cli/main.go
@@ -14,8 +14,12 @@ import (
)
func main() {
+
ctx := context.Background()
- cfg := cfg.New()
+
+ cfg := cfg.New(cfg.Params{
+ EnvPrefix: "MEDIOCRE_BLOG",
+ })
dataDir := cfg.String("data-dir", ".", "Directory to use for long term storage")