CLI: Add commands to handle attachments

* Add commands to manipulate entry attachments from the CLI
* Closes #4462

* Add the following commands:
  attachment-export: Exports the content of an attachment to a specified file.

  attachment-import: Imports the attachment into an entry. An existing attachment with the same name may be overwritten if the -f option is specified.

  attachment-rm: Removes the named attachment from an entry.

* Add --show-attachments  to the show command
This commit is contained in:
Andre Blanke 2021-11-03 23:29:44 -04:00 committed by Jonathan White
parent 7811f10dba
commit 7d37f65ad0
16 changed files with 697 additions and 3 deletions

View file

@ -47,6 +47,9 @@ private slots:
void testAdd();
void testAddGroup();
void testAnalyze();
void testAttachmentExport();
void testAttachmentImport();
void testAttachmentRemove();
void testClip();
void testCommandParsing_data();
void testCommandParsing();