Skip to content

Possibility to pass location of the config and credentials file #30

@ahochsteger

Description

@ahochsteger

Currently the location of the config and credentials file is hard-coded to certain locations - see:

Creds.AddConfigPath("$HOME/." + viper.GetString("app-name") + "/")

viper.AddConfigPath("/etc/" + appName + "/")

This would allow to use dynamically created config and credentials files to prevent race conditions, if the CLI is used in parallel for different situations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions