feat: add --plain option to the show command in order to render notes as plaintext

This commit is contained in:
cătălin 2023-11-28 13:49:13 +01:00
commit af9a6d82f4
Signed by: catalin
GPG key ID: 686088EF78EE4083
14 changed files with 318 additions and 473 deletions

View file

@ -1,6 +1,7 @@
import pytest
from pathlib import Path
import pytest
from halig.commands.import_unencrypted import ImportCommand
from halig.encryption import Encryptor
@ -34,7 +35,7 @@ def test_import(unencrypted_notes: Path, command: ImportCommand, encryptor: Encr
def test_import_unlink(
unencrypted_notes: Path, command: ImportCommand, encryptor: Encryptor
unencrypted_notes: Path, command: ImportCommand, encryptor: Encryptor,
):
command.unlink = True
command.run()