tctl icon indicating copy to clipboard operation
tctl copied to clipboard

Respect $XDG_CONFIG_HOME and add --config overwrite for config path

Open feedmeapples opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe.

Currently config file location is enforced to UserHomeDir()/.config/temporalio/tctl.yml and doesn't allow to have a different location

Describe the solution you'd like

Respect XDG_CONFIG_HOME env variable Allow users to overwrite with --config flag

Additional context

current config file location:

cat ~/.config/temporalio/tctl.yaml

the actual config file location code lives here https://github.com/temporalio/tctl-kit

feedmeapples avatar Sep 01 '22 16:09 feedmeapples