PaperCLI v1.0.4 - Collection Purge Feature
What's New in v1.0.4
🧹 Collection Purge Functionality
- New CLI command:
/collect purge- Delete all empty collections from command line - New UI button: "Purge" button in collection management dialog
- Smart detection: Automatically finds and removes collections with no papers
- Real-time feedback: Status messages show number of collections purged
- Safe operation: Only removes truly empty collections, preserves collections with papers
🔧 Technical Improvements
- Comprehensive logging: Purge operations logged to
/logpanel with detailed information - Error handling: Robust error handling with detailed error panels for troubleshooting
- UI refresh: Collection list automatically refreshes after purge operations
- Improved button layout: Better spacing and organization in collection dialog
- Fixed F7 key binding: Collection management hotkey now works correctly
💡 Usage Examples
Command Line:
# Open collection management dialog
/collect
# Purge empty collections directly
/collect purgeCollection Dialog:
- Press F7 or use
/collectto open collection management - Click Purge button to remove empty collections
- Use Tab to navigate between Purge, Save, and Cancel buttons
📚 Enhanced Documentation
- Updated help system (
/help) with purge command information - Enhanced auto-completion for
/collect purge - Updated README with new command documentation
📦 Installation
# Update to latest version
pipx install --force git+https://github.com/SXKDZ/papercli.gitThis release adds convenient collection cleanup functionality to help keep your paper library organized by automatically removing unused collections.