feat: add .env support
- Oct 14, 2024
-
-
Benjamin Woods authored
-
Benjamin Woods authored
-
Benjamin Woods authored
-
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