lastpass / lastpass-cli

LastPass command line interface tool
GNU General Public License v2.0
2.85k stars 292 forks source link

lpass show: can't use an absolute path for the stored credentials #561

Open paride opened 4 years ago

paride commented 4 years ago

(LastPass CLI v1.3.3.GIT)

In the case of a ambiguous credential name:

$ lpass show test
Multiple matches found.
test [id: 123123123...]
testdir/test [id: 321321321...]

testdir/test can be queried explicitly:

$ lpass show testdir/test
testdir/test [id: 123123123...]
Username: test
Password: test

but the test credential in the "root" folder can't:

$ lpass show /test
Error: Could not find specified account(s).

It would be nice to be able to, so lpass show /test will keep working even if a testdir/test credential is added in a later time.