Skip to content

Allow to override a path to config file #5

@harnyk

Description

@harnyk

Problem

Currently, the path to the config file is hardcoded to ./config.yaml and is searched in the current directory.

This behavior is convenient when there are multiple companies and each company has its own config file in a separate directory.

But for a client with a single company, it is inconvenient to have to call the program from the specific directory every time.

Solution

Add a new environment variable ONELOGIN_AUTH_CLI_CONFIG_FILE that, when set, will override the default path to the config file.

A user can set this variable in the shell profile and then call the program from any directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions