doy / rbw

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

feature request: Check if vault is unlocked #12

Closed AdmiralNemo closed 4 years ago

AdmiralNemo commented 4 years ago

For automation purposes, it would be nice if there were a way to check if the vault needs to be unlocked. Calling rbw unlock unconditionally is an option in some cases, it might not be in others. If the vault is locked, the pinentry dialog will appear, blocking the script from continuing until the user either cancels it or enters the master password.

doy commented 4 years ago

added in 6b38682d7, thanks!