diff options
author | Andre Blanke <blanke.and@gmail.com> | 2021-11-04 06:29:44 +0300 |
---|---|---|
committer | Jonathan White <support@dmapps.us> | 2021-11-08 01:27:16 +0300 |
commit | 7d37f65ad00c49f2f3542ae9bcfda00b73a13c49 (patch) | |
tree | c459903f5065746efc97b6fed60bd64593d2680e /tests/TestCli.h | |
parent | 7811f10dba8a43d2b440ee193d14db55c9d72e31 (diff) |
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
Diffstat (limited to 'tests/TestCli.h')
-rw-r--r-- | tests/TestCli.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/TestCli.h b/tests/TestCli.h index 299264dd7..bbe80a4b3 100644 --- a/tests/TestCli.h +++ b/tests/TestCli.h @@ -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(); |