-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please respect TT_CLI_CFG environment variable as a path to tt.yaml #813
Comments
Since the configuration discovery process is somewhat complex, it would be helpful to have a log message (debug-level) detailing the location of the found configuration file. |
better0fdead
added a commit
that referenced
this issue
May 3, 2024
Added 'TT_CLI_CFG' environmental variable to specify the path to configuration file. Closes #813
better0fdead
added a commit
that referenced
this issue
May 3, 2024
Added 'TT_CLI_CFG' environmental variable to specify the path to configuration file. Closes #813
better0fdead
added a commit
that referenced
this issue
May 3, 2024
Added 'TT_CLI_CFG' environmental variable to specify the path to configuration file. Closes #813
better0fdead
added a commit
that referenced
this issue
May 3, 2024
Added 'TT_CLI_CFG' environmental variable to specify the path to configuration file. Closes #813
better0fdead
added a commit
that referenced
this issue
May 3, 2024
Added 'TT_CLI_CFG' environmental variable to specify the path to configuration file. Closes #813
better0fdead
added a commit
that referenced
this issue
May 3, 2024
Added 'TT_CLI_CFG' environmental variable to specify the path to configuration file. Closes #813
better0fdead
added a commit
that referenced
this issue
May 3, 2024
Added 'TT_CLI_CFG' environmental variable to specify the path to configuration file. Closes #813
better0fdead
added a commit
that referenced
this issue
May 3, 2024
Added 'TT_CLI_CFG' environmental variable to specify the path to configuration file. Closes #813
better0fdead
added a commit
that referenced
this issue
May 3, 2024
Added debug level message with the location of the found configuration file. Follow up #813
better0fdead
added a commit
that referenced
this issue
May 3, 2024
Added 'TT_CLI_CFG' environmental variable to specify the path to configuration file. Closes #813
better0fdead
added a commit
that referenced
this issue
May 3, 2024
Added debug level message with the location of the found configuration file. Follow up #813
better0fdead
added a commit
that referenced
this issue
May 7, 2024
Added 'TT_CLI_CFG' environmental variable to specify the path to configuration file. Closes #813
better0fdead
added a commit
that referenced
this issue
May 7, 2024
Added debug level message with the location of the found configuration file. Follow up #813
better0fdead
added a commit
that referenced
this issue
May 7, 2024
Added 'TT_CLI_CFG' environmental variable to specify the path to configuration file. Closes #813
better0fdead
added a commit
that referenced
this issue
May 7, 2024
Added debug level message with the location of the found configuration file. Follow up #813
better0fdead
added a commit
that referenced
this issue
May 13, 2024
Added debug level message with the location of the found configuration file. Follow up #813
psergee
pushed a commit
that referenced
this issue
May 13, 2024
Added 'TT_CLI_CFG' environmental variable to specify the path to configuration file. Closes #813
psergee
pushed a commit
that referenced
this issue
May 13, 2024
Added debug level message with the location of the found configuration file. Follow up #813
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Subject
I use the single
tt
binary in various$PWD
directories, and sometimes the autodiscovery oftt.yaml
works as expected, but other times it does not. Having to specify--cfg
each time is not always convenient.Could you please add a feature to retrieve the value from the
TT_CLI_CFG
environment variable as a path tott.yaml
and use it before the autodiscovery mechanism oftt.yaml
?The path of
tt.yaml
specified with the--cfg
option must take priority over theTT_CLI_CFG
environment variable. Therefore, the precedence should be as follows:--cfg
option, if specified (must throw an error when the file is not readable).TT_CLI_CFG
environment variable (works the same as--cfg
).tt.yaml
.tt cfg dump
should indicate that the configuration was taken from theTT_CLI_CFG
environment variable and print the resolved absolute path tott.yaml
.The text was updated successfully, but these errors were encountered: