Proposed change
when set this would override where natscli is looking for the config file that holds the current context to the path specified by this env var instead of ~/.config/nats/context.txt
Use case
We deploy images that are mostly read only, they include some pre-defined contexts so we can't use nats context select, the only way is to set NATS_CONTEXT manually, that works but is a bit tedious and not persistent
Contribution
I never wrote anything in go but I may give it a try if this is likely to be accepted
Proposed change
when set this would override where natscli is looking for the config file that holds the current context to the path specified by this env var instead of ~/.config/nats/context.txt
Use case
We deploy images that are mostly read only, they include some pre-defined contexts so we can't use
nats context select, the only way is to set NATS_CONTEXT manually, that works but is a bit tedious and not persistentContribution
I never wrote anything in go but I may give it a try if this is likely to be accepted