Statuspage.io CLI tool
This commandline tool interacts with the statuspage.io API.
note: Beware, this is work in progress and without warranty! It might be broken.
- Create user
- Delete user
- Search user
- List users
- List components
- Everything else
Get the binary from the release page or build it yourself using go get.
Get the pageid and apikey in your statuspage.io admin panel and create a .statuspage.yaml file in your home directory with the following content:
pageid: <pageid>
apikey: <apikey>
You can also use environment variables with prefix SP_:
export SP_PAGEID=<pageid>
export SP_APIKEY=<apikey>
--config string config file (default is $HOME/.statuspage.yaml)
--debug debug mode
-h, --help help for statuspage
--version version for statuspage
Create a subscriber through email adres. The subsciber needs to confirm the email from statuspage to receive notifications. The subscriber is then added to all the components by default.
statuspage subscriber create [email address]
statuspage subscriber create [[email protected]]
-h, --help help for create
--config string config file (default is $HOME/.statuspage.yaml)
--debug debug mode
Delete a subscriber through email adres
statuspage subscriber delete [email address]
statuspage subscriber delete [[email protected]]
-h, --help help for delete
--config string config file (default is $HOME/.statuspage.yaml)
--debug debug mode
Search a subscriber
Search a subscriber through email adres
statuspage subscriber search [email address]
statuspage subscriber search [[email protected]]
-h, --help help for search
--config string config file (default is $HOME/.statuspage.yaml)
--debug debug mode