@lmk123/netlify-usage-cli

1.0.1 • Public • Published

netlify-usage-cli

A cli program to print out the usage of netlify.

  1. Installing with npm: npm i -g @lmk123/netlify-usage-cli
  2. 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

Readme

Keywords

Package Sidebar

Install

npm i @lmk123/netlify-usage-cli

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

3.63 kB

Total Files

4

Last publish

Collaborators

  • milklee