Commands — Command Handler¶
The commands package implements the CommandHandler class and its mixins,
which process user input in both quick-add and command modes.
CommandHandler¶
- class jot.commands.handler.CommandHandler(task_manager, registry=None)[source]¶
Bases:
CoreMixin,MetadataMixin,TransferMixin,BulkMixin,GcalMixin,GithubMixin,AiAnalysisMixin,AiSuggestMixin,NotesMixin,WebClipboardMixin,AudioTimerMixin,ContextMixin,ClaudeMixinExtensible command system — composed from domain-specific mixins.
Mixins¶
Core Commands¶
Core task CRUD and utility mixin.
- class jot.commands._core_mixin.CoreMixin[source]¶
Bases:
objectCore task operations: add, delete, edit, set current, help, refresh.
- collect_all_category_tasks(project_dir, show_archived=False)[source]¶
Collect tasks from all categories (default + local + global).
Returns list of (category_name, is_global, tasks, archived_tasks).
Bulk Operations¶
Bulk task operations mixin for CommandHandler.
Context Commands¶
Project/category switching mixin.
Metadata Commands¶
Metadata operations mixin (priority, status, day assignment).
Notes Commands¶
Notes editing, subtask sync, and keyword action mixin.
- class jot.commands._notes_mixin.NotesMixin[source]¶
Bases:
objectEditor-based notes, subtask sync, and keyword actions.
Transfer Commands¶
Task transfer/copy/move mixin.
AI Analysis¶
AI task analysis and execution mixin.
AI Suggest¶
AI task suggestion mixin.
Audio Timer (deprecated)¶
Text-to-speech and timer mixin.
Google Calendar¶
Google Calendar integration mixin.
Exceeds 300-line guideline: gcal requires 7 user-facing flows (account setup, selection, export single/bulk, import with multi-day direction/grouping/display, re-authentication) that cannot be further decomposed without losing readability.
Web Clipboard¶
Web search, URL opening, and clipboard mixin.