doy / rbw

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

don't crash if field name is empty #131

Closed Mic92 closed 11 months ago

Mic92 commented 11 months ago

also less code :)

Mic92 commented 11 months ago

Now I can just do export FOO=$(rbw get --field account-id myaccount) without crashes and using sed.

doy commented 11 months ago

turns out there were a lot of places in get_field which were being handled pretty inconsistently - i went ahead and fixed them up more thoroughly in bb1791d14e64ad83fb57116a24eb913a4946afed. thanks!

Mic92 commented 10 months ago

Thanks. Looking forward to a release.