This is a simple CLI tool to pause & resume every cluster in an Atlas organization. It uses a companion app running in MongoDB Stitch in order to whitelist clusters and prevent them from being paused by this application.
To use this app, you must have an organization owner Atlas API key.
Setup:
Move _config.json and _key.json to config.json and key.json, then fill out required values in both files.
Usage:
node index.js pause
node index.js resume