doy / rbw

unofficial bitwarden cli
https://git.tozt.net/rbw
Other
581 stars 83 forks source link

Support multiple profiles with an environment variable #93

Closed Hyask closed 1 year ago

Hyask commented 2 years ago

This introduces the RBW_PROFILE environment variable to be able to run multiple instances in parallel, that will use different configuration paths. To use this feature, simply run rbw with the environment variable set to any string that is valid for a path. Setting it to an empty string is like not setting it at all. e.g.:

Fixes #48 and probably #28.

Hyask commented 1 year ago

@doy Any update on this? Have you had time to review?

MatthiasGrandl commented 1 year ago

Sad that there is no reply on such an important PR. I’ll be trying your fork and will give feedback here!

MatthiasGrandl commented 1 year ago

Works like a charm! @doy could we please have this merged?

matt-snider commented 1 year ago

@doy I'm sure you're very busy but this is quite a simple patch and appears to work. I wonder if you'd have some time soon to review, merge, and possibly even tag a new release.

Thank you for the work you've done on this tool.

fictitiousexistence commented 1 year ago

@Hyask Patch works amazing for me. Thanks! @doy

skapin commented 1 year ago

We need a merge if possible :'(

Hyask commented 1 year ago

Thank you for the merge, I'm really happy to get back to master for my daily usage, and for you showing signs of love for this repo ♥