Skip to content
Discussion options

You must be logged in to vote

That should work but that assumes a config similar to this:

context_name: dev 
contexts:
    dev:
        token: ""
        connections: null
        dashboard_settings:
...etc

gdg tools contexts show

---dev:
token: ""
connections: null
dashboard_settings:
    nested_folders: true
    ignore_filters: false
    ignore_bad_folders: false
...etc

GDG_CONTEXTS__DEV__TOKEN=1234 gdg tools contexts show

---dev:
token: "1234"
connections: null
dashboard_settings:
    nested_folders: true
    ignore_filters: false
    ignore_bad_folders: false
...etc

One gotcha with the ENV overrides is that you need a value to override, so you still need to set a value in the config even if it won't be used.

Also…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by safaci2000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #418 on May 14, 2025 14:02.