Skip to content

Conversation

@WillFantom
Copy link

This PR adds in profiles that allow for more accounts to defined in the configuration simultaneously! I imagine this is not a common use case, but it was noted in #70 so I gather I am not alone...

The profile can be set in the configuration file itself (now $HOME/.config/dbxcli.json) with the profile key, or it can be set via flags: --profile <name>. It defaults to the profile default.

To make future changes to the app configuration easier, I have also rewritten some configuration aspects using Viper. Using this, the app will use the configuration path noted above by default, yet if a dbxcli.json is found in the local dir or /config/, that will be used.

Signed-off-by: Will Fantom <willfantom@gmail.com>
Signed-off-by: Will Fantom <willfantom@gmail.com>
Signed-off-by: Will Fantom <willfantom@gmail.com>
Signed-off-by: Will Fantom <willfantom@gmail.com>
Signed-off-by: Will Fantom <willfantom@gmail.com>
@WillFantom
Copy link
Author

Bumped to Go version 1.16.x to allow CI to run successfully

@WillFantom
Copy link
Author

This also fixes the env default value mistake (I think) that can be found here

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants