Skip to content

Comments

feat: split CLI into modular commands, fix platform bugs, add new fea…#5

Merged
d1maash merged 1 commit intomainfrom
feat/dimash
Jan 29, 2026
Merged

feat: split CLI into modular commands, fix platform bugs, add new fea…#5
d1maash merged 1 commit intomainfrom
feat/dimash

Conversation

@d1maash
Copy link
Owner

@d1maash d1maash commented Jan 29, 2026

…tures (v1.2.0)

Bug fixes:

  • Fix organize/rename "edit destination" overwrite bug
  • Fix rules edit to use notepad on Windows
  • Fix config paths to use APPDATA/LOCALAPPDATA on Windows
  • Fix trash path detection per platform
  • Fix expandPath to handle Windows %VAR% variables
  • Add db.close() in finally blocks across all commands

Technical improvements:

  • Split cli.ts (1198 lines) into 12 modular command files in src/commands/
  • Read VERSION from package.json instead of hardcoding
  • Add graceful shutdown handlers (SIGTERM, uncaughtException, unhandledRejection)
  • Add AI API key format validation
  • Add watcher change event handling

New features:

  • Interactive TUI preview command (sortora preview)
  • Export/import rules (sortora rules export/import)
  • Batch undo (--last N, --all-recent)
  • Progress bar for organize command
  • Summary stats after organize (files moved, size, errors)

…tures (v1.2.0)

Bug fixes:
- Fix organize/rename "edit destination" overwrite bug
- Fix rules edit to use notepad on Windows
- Fix config paths to use APPDATA/LOCALAPPDATA on Windows
- Fix trash path detection per platform
- Fix expandPath to handle Windows %VAR% variables
- Add db.close() in finally blocks across all commands

Technical improvements:
- Split cli.ts (1198 lines) into 12 modular command files in src/commands/
- Read VERSION from package.json instead of hardcoding
- Add graceful shutdown handlers (SIGTERM, uncaughtException, unhandledRejection)
- Add AI API key format validation
- Add watcher change event handling

New features:
- Interactive TUI preview command (sortora preview)
- Export/import rules (sortora rules export/import)
- Batch undo (--last N, --all-recent)
- Progress bar for organize command
- Summary stats after organize (files moved, size, errors)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@d1maash d1maash merged commit 183ad0e into main Jan 29, 2026
0 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant