diff options
author | Robert Günzler <r@gnzler.io> | 2024-05-01 19:53:26 +0200 |
---|---|---|
committer | Robert Günzler <r@gnzler.io> | 2024-05-01 19:53:26 +0200 |
commit | 8dfbb68b22277e375df6d6e265588873509d1bc4 (patch) | |
tree | 558e471fc9111247595293d2531e99579e71cc9e /src/bin/rbw-agent/main.rs | |
parent | df5c9f1d2c869925cbfdddc8176f7d000e27a237 (diff) | |
download | rbw-8dfbb68b22277e375df6d6e265588873509d1bc4.tar.gz rbw-8dfbb68b22277e375df6d6e265588873509d1bc4.zip |
Support UUIDs and URIs in code command
a864366e60f6e7ae67df91010d7e30f3b1569ac0 changed the implementation of
`find_entry` to work on the new `Needle` type, but when calling into it from the
`code` subcommand the provided string was only passed as a `Needle::Name` when
in fact also UUIDs are allowed.
Remedy this by parsing the first argument in the same way as with the `get`
command, which also enables passing URIs
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to 'src/bin/rbw-agent/main.rs')
0 files changed, 0 insertions, 0 deletions