diff --git a/README.md b/README.md index 702e822..898844a 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,8 @@ tembo.cli.CONFIG ### Script +#### with config file + Create `./config/config.yml` in the same directory as the script. In the script initialise a `CONFIG` object: @@ -99,6 +101,16 @@ CONFIG = panaetius.Config( Set variables in the same way as the module above. +####  with env vars only + +```python +import panaetius + +CONFIG = panaetius.Config("mart") +panaetius.set_config(CONFIG, "username") +panaetius.set_config(CONFIG, "password") +``` + #### quickstart logging ```python