We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, the path to the config file is hardcoded to ./config.yaml and is searched in the current directory.
./config.yaml
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.
Add a new environment variable ONELOGIN_AUTH_CLI_CONFIG_FILE that, when set, will override the default path to the config file.
ONELOGIN_AUTH_CLI_CONFIG_FILE
A user can set this variable in the shell profile and then call the program from any directory.
The text was updated successfully, but these errors were encountered:
feat: override a path to config file in4it#5
779251f
doc: in4it#4 and in4it#5
97a15c9
Override config file path using ONELOGIN_AUTH_CLI_CONFIG_FILE (#7)
8bcb7e5
* feat: override a path to config file #5
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: