Skip to content

Instantly share code, notes, and snippets.

@gpirrotta
Last active December 11, 2021 10:31
Show Gist options
  • Save gpirrotta/8e7054a8468f1fd3428d06ce2ea8c6d0 to your computer and use it in GitHub Desktop.
Save gpirrotta/8e7054a8468f1fd3428d06ce2ea8c6d0 to your computer and use it in GitHub Desktop.
Carbon Calculator CLI
carbon-cli -h
usage: carbon-cli [-h] -db GREENWEB [-lh LIGHTHOUSE] website
Carbon Calculator - the tool calculates the carbon emissions (CO2) and green infos of any website
positional arguments:
website The URL to analyze
optional arguments:
-h, --help show this help message and exit
-db GREENWEB, --greenweb GREENWEB
(Mandatory) - The path of the Green Web Foundation DB (SQL3Lite DB file)
-lh LIGHTHOUSE, --lighthouse LIGHTHOUSE
(Optional) - The path of the Lighthouse tool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment