report-data-usage

command
v0.0.0-...-06a7fed Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Binary report-data-usage reports information about how much data your sim cards have used.

Example report format:

$ report-data-usage
iPhone v13
----------
2017-06-19: 0
2017-06-20: 0
2017-06-21: 11.281MB
2017-06-22: 93.341MB
2017-06-23: 94.422MB
2017-06-24: 159.461MB
2017-06-25: 50.062MB
total (last 7 days): 408.568MB

Your Twilio credentials are loaded from the TWILIO_ACCOUNT_SID and TWILIO_AUTH_TOKEN environment variables. There are several flags:

--days int
    Change the number of days to report usage for (default 7)
--location string
    Use a different timezone for day boundaries (example "America/Los_Angeles")
--sim string
    Only fetch usage for this sim

Jump to

Keyboard shortcuts

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