feat: add .env support
Compare changes
Some changes are not shown
For a faster browsing experience, some files are collapsed by default.
Files
5+ 3
− 0
For #2 (closed)
Adds some .env
support using python-dotenv
. Fairly self explanatory, but for the uninitiated:
.env
file. Don't commit the .env
to the repo.ucam-gitlab-stats
API, you can either provide the token as an env var, or put it in the .env
.Added a .env
file with GITLAB_TOKEN=...
then ran the following locally:
poetry run ucam-gitlab-stats --labels "team::Identity" --print-iterations --week-count=13 14
All worked as expected
For a faster browsing experience, some files are collapsed by default.