By ubaumann, Sun 13 March 2022, modified Sun 13 March 2022, in category Brief Byte
Python
The dotenv file can be used as a configuration file for your Typer Python CLI tool (or any other tool using environment variables).
Just use python-dotenv and load the dotenv file before starting the application in your code.
python-dotenv