mirror of
https://github.com/bitwarden/browser
synced 2025-12-23 03:33:54 +00:00
Add bw get notes <id> command (#255)
Rationale: the notes object is a freeform plain-text field that's prominently displayed in Web Vault. It is also useful for the CLI users as discussed before in issues #81 and #196. I have some use cases planned myself. I was rather surprised this wasn't supported already, but the implementation is simple and cannot really break any existing functionality so here it is.
This commit is contained in:
committed by
GitHub
parent
b4fc4ca3a5
commit
80f34d5de5
@@ -87,6 +87,7 @@ export class VaultProgram extends Program {
|
||||
writeLn(' password');
|
||||
writeLn(' uri');
|
||||
writeLn(' totp');
|
||||
writeLn(' notes');
|
||||
writeLn(' exposed');
|
||||
writeLn(' attachment');
|
||||
writeLn(' folder');
|
||||
@@ -109,6 +110,7 @@ export class VaultProgram extends Program {
|
||||
writeLn(' bw get item 99ee88d2-6046-4ea7-92c2-acac464b1412');
|
||||
writeLn(' bw get password https://google.com');
|
||||
writeLn(' bw get totp google.com');
|
||||
writeLn(' bw get notes google.com');
|
||||
writeLn(' bw get exposed yahoo.com');
|
||||
writeLn(' bw get attachment b857igwl1dzrs2 --itemid 99ee88d2-6046-4ea7-92c2-acac464b1412 ' +
|
||||
'--output ./photo.jpg');
|
||||
|
||||
Reference in New Issue
Block a user