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

@ -16,7 +16,7 @@ def test_edit_raises_invalid_age_file(notes, settings: Settings):
def test_edit_current_note(mock_edit, current_note, settings: Settings, encryptor):
edit_command = EditCommand(
note_path=settings.notebooks_root_path, settings=settings
note_path=settings.notebooks_root_path, settings=settings,
)
assert edit_command.note_path == current_note
edit_command.run()