You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Managing multiple boards (or even multiple servers) would require setting the configuration flag every time.
Describe the solution you'd like
Exposing JIRA_CONFIG env variable which if set, the configuration file in it would be used.
Describe alternatives you've considered
Setting the -c config-file directly
Additional context
It's possible to define a bash function that wrap the command like the following
but it would be much cleaner if that's supported natively
jira() {
if [ -n"$JIRA_CONFIG" ];then# JIRA_CONFIG is set, use it with --configcommand jira --config "${JIRA_CONFIG}""$@"else# JIRA_CONFIG is not set, call jira normallycommand jira "$@"fi
}
The text was updated successfully, but these errors were encountered:
Hello @ankitpokhrel, XDG_CONFIG_HOME would require having multiple dirs to have multiple configurations, while the -c flag allows having multiple configurations even in the same directory, I currently work around that by the provided snippet.
My usecase for this is to have jira/repo project mapping in the repo .envrc. XDG_CONFIG_HOME wouldn't work as it would set config directories for all other tools (such as podman)
Is your feature request related to a problem? Please describe.
Managing multiple boards (or even multiple servers) would require setting the configuration flag every time.
Describe the solution you'd like
Exposing
JIRA_CONFIG
env variable which if set, the configuration file in it would be used.Describe alternatives you've considered
Setting the
-c config-file directly
Additional context
It's possible to define a bash function that wrap the command like the following
but it would be much cleaner if that's supported natively
The text was updated successfully, but these errors were encountered: