statusio_subscriber_upload

command module
v0.0.0-...-6133cae Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2021 License: MIT Imports: 6 Imported by: 0

README

Status.io subscriber upload

A simple cli tool to bulk upload a list of email subscribers from a file.

The file format is 1 email address per line. eg:

foo@example.com
bar@example.org
baz@example.net

It does not handle the common approach of adding extra info on the line. eg:

"Foo Nurk" <foo@example.com>
"Bar Nurk" <bar@example.org>
"Baz Nurk" <baz@example.net>

So, keep it simple.

Usage

To use this utility, set environment variables for the main status page values:

  • API_ID
  • API_KEY
  • STATUS_PAGE_ID

Then call this utility with a filename as the first command line argument. eg:

$ API_ID=abc API_KEY=def STATUS_PAGE_ID=ghi ./statusio_metrics_updater example_subscriber_list.txt

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL