Extract command registration logic into dedicated CommandRegistry
class to improve separation of concerns and reduce main.ts complexity.
- Create src/plugin/CommandRegistry.ts (~35 lines)
- Move registerCommands() method to CommandRegistry
- Extract all 3 command definitions with callbacks:
* export-current-note
* export-with-config
* check-dependencies
- Update main.ts to delegate to CommandRegistry
- Change exportCurrentNote() and showExportModal() to public
- Remove old registerCommands() method from main.ts
Part of comprehensive refactoring plan (main.ts: 1792 lines → 6 modules).
Step 1.2 complete. Commands functionality preserved.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>