feat: add --plain option to the show command in order to render notes as plaintext
This commit is contained in:
parent
fc81531f3c
commit
af9a6d82f4
14 changed files with 318 additions and 473 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue