feat: Add environment variable SEQCLI_CONFIG_FILE for custom config location#400
Conversation
…ocation This allows users to specify custom location of config file. For example SEQCLI_CONFIG_PATH=~/.config/seq/config.json seqcli config seqcli apikey list Closes #399 Signed-off-by: Mateusz Łoskot <mateusz@loskot.net>
Signed-off-by: Mateusz Łoskot <mateusz@loskot.net>
Signed-off-by: Mateusz Łoskot <mateusz@loskot.net>
|
Thanks for the reviews and approval @KodrAus |
|
The build failure here is probably unrelated to your changes. I'll see if I can track down what's going on. It looks like we're failing to stand up a Seq container in the GitHub Action |
|
Just a quick note to let you know this one isn't forgotten; it intersects with some other work we have in progress so we'll need to merge in a couple of hops to keep things lined up :-) |
|
@nblumhardt No worries here, I appreciate the notification. |
|
Thanks for pushing this ahead @mloskot! There was a pretty heavy conflict between this and the The variable name became I didn't go to too much trouble updating command-specific docs in the README, as we generate these from the command definitions during build and will need to update them in bulk once we're through the rest of the forwarder work. If you spot anything I made a mess of, please let me know :-) --- cheers! |
|
@nblumhardt Thanks for the explanation. I did quick build of the latest I've also tried the but there is something peculiar going on about the
and
I assume the |
|
Thanks for the note; a bit of churn currently going on, but we should have this sorted out today 😅 👍 |



This allows users to specify custom location of config file.
For example
Closes #399
Tests result
Run it on Linux (Ubuntu 25.04) with .NET 9.0