@lmk123/netlify-usage-cli
v1.0.1
Published
A cli program to print out the usage of netlify.
Downloads
4
Readme
netlify-usage-cli
A cli program to print out the usage of netlify.
- Installing with npm:
npm i -g @lmk123/netlify-usage-cli
- Create a Netlify token: https://app.netlify.com/user/applications#personal-access-tokens
Then:
$ export NETLIFY_TOKEN=<YOUR_TOKEN_HERE>
$ nuc
If all is well, the console will output the following:
Team name: my team
Current usage period: 12/14/2022, 4:00:00 PM to 1/14/2023, 4:00:00 PM
Build minutes usage: 12 / 300, updated at 1/9/2023, 3:07:29 PM
Bandwidth usage: 21.63 GB / 100.00 GB, updated at 1/9/2023, 3:07:29 PM