What are you really trying to do?
Would like to change the config file location next to the rest of my dot files. Using MacOS but would like to store them at the default Linux location (i.e. $HOME/.config/temporalio)
Describe the bug
Temporal CLI does not appear to be respecting having env vars CONFIG_PATH or TEMPORAL_CONFIG_FILE set per the documentation and/or CLI help info. It is still using the default MacOS location.
Documentation: https://docs.temporal.io/develop/environment-configuration#configuration-methods
Minimal Reproduction
❮ echo $CONFIG_PATH
/Users/nick/.config
❮ echo $TEMPORAL_CONFIG_FILE
/Users/nick/.config/temporalio/temporal.toml
❮ bat ~/.config/temporalio/temporal.toml
─────┬───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ File: /Users/nick/.config/temporalio/temporal.toml
─────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
1 │ [profile]
2 │ [profile.default]
3 │ address = "test:7233"
─────┴───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
❮ bat $HOME/Library/Application\ Support/temporalio/temporal.toml
─────┬───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ File: /Users/nick/Library/Application Support/temporalio/temporal.toml
─────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
1 │ [profile]
2 │ [profile.default]
3 │ address = "test:1234"
─────┴───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
❮ temporal config get --prop address
Property Value
address test:1234
Environment/Versions
Mac Silicon
Temporal Version: 1.7.0 (brew)
Additional context
What are you really trying to do?
Would like to change the config file location next to the rest of my dot files. Using MacOS but would like to store them at the default Linux location (i.e. $HOME/.config/temporalio)
Describe the bug
Temporal CLI does not appear to be respecting having env vars CONFIG_PATH or TEMPORAL_CONFIG_FILE set per the documentation and/or CLI help info. It is still using the default MacOS location.
Documentation: https://docs.temporal.io/develop/environment-configuration#configuration-methods
Minimal Reproduction
Environment/Versions
Mac Silicon
Temporal Version: 1.7.0 (brew)
Additional context