Ability to set project via env var #665
Unanswered
AutomationD
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Hi @AutomationD, you can use |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey all,
I'm looking for a feature where I can set project key via env var. Is there something like this available?
I'd like to add
export JIRA_PROJECT_KEY=TST
to my .envrc so this repo is always connected to aTST
project.I know Viper supports autoenvs, but it doesn't seem there has been a replacer added, so dots should be dots in order for this to work, but
jira_project.key=TST
is not a valid bash/zsh thing.I'm happy to send a PR for a replacer, but I'm sure there is a better way of doing so. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions