rbw
name [arg...]
rbw
returns structured data retrieved from Bitwarden using
rbw
. name is passed to rbw get --raw
, along with any extra args,
and the output is parsed as JSON.
The output from rbw get --raw
is cached so calling rbw
multiple times with
the same arguments will only invoke rbw
once.
Example
username = {{ (rbw "test-entry").data.username }}
password = {{ (rbw "test-entry" "--folder" "my-folder").data.password }}