From c6eb143b51b0c105b157e9d408d6e9fcfaa5abfc Mon Sep 17 00:00:00 2001 From: Zach Berwaldt Date: Wed, 19 Feb 2025 20:01:21 -0500 Subject: add new command. Major refactor. --- main.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'main.py') diff --git a/main.py b/main.py index 7095cf2..67e7a35 100644 --- a/main.py +++ b/main.py @@ -1,11 +1,9 @@ from .note_tools.commands import ( - OrganizeNotesCommand, - NewNoteCommand + NewNoteCommand, + NewNoteForTomorrowCommand ) __all__= [ - "NewNoteCommand" + "NewNoteCommand", + "NewNoteForTomorrowCommand" ] - -def plugin_loaded(): - print("Note tools have been loaded.") -- cgit v1.1 From 9cde3624920cb1ddd563b8addfcc65ccc79e080a Mon Sep 17 00:00:00 2001 From: Zach Berwaldt Date: Wed, 19 Feb 2025 20:35:50 -0500 Subject: Finish refactor --- main.py | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'main.py') diff --git a/main.py b/main.py index 67e7a35..816c721 100644 --- a/main.py +++ b/main.py @@ -1,9 +1,7 @@ -from .note_tools.commands import ( - NewNoteCommand, - NewNoteForTomorrowCommand -) +from .note_tools.today import NewNoteCommand +from .note_tools.tomorrow import NewNoteForTomorrowCommand -__all__= [ - "NewNoteCommand", - "NewNoteForTomorrowCommand" -] +__all__ = [ + 'NewNoteCommand', + 'NewNoteForTomorrowCommand' +] \ No newline at end of file -- cgit v1.1 From 779228adc67a23d08ac1a2d5846917614b2690c1 Mon Sep 17 00:00:00 2001 From: Zach Berwaldt Date: Wed, 19 Feb 2025 20:01:21 -0500 Subject: add new command. Major refactor. --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.py') diff --git a/main.py b/main.py index 816c721..39b6387 100644 --- a/main.py +++ b/main.py @@ -4,4 +4,4 @@ from .note_tools.tomorrow import NewNoteForTomorrowCommand __all__ = [ 'NewNoteCommand', 'NewNoteForTomorrowCommand' -] \ No newline at end of file +] -- cgit v1.1