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

@ -26,7 +26,7 @@ def test_show_raises_note_path_is_not_age_valid(notes, settings: Settings):
def test_show_current_note(current_note, settings):
show_command = ShowCommand(
note_path=settings.notebooks_root_path, settings=settings
note_path=settings.notebooks_root_path, settings=settings,
)
assert show_command.note_path == current_note
assert show_command.decrypt() == "foo"