Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions raindrop_cleanup/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,9 @@ def main() -> None:
traceback.print_exc()


def _handle_resume_selection(sessions: Sequence[dict[str, Any]]) -> Optional[dict[str, Any]]:
def _handle_resume_selection(
sessions: Sequence[dict[str, Any]],
) -> Optional[dict[str, Any]]:
"""Handle selection of a resumable session."""
print("🔄 Choose a session to resume:")
print("Enter number, or 'new' for a fresh session:")
Expand Down Expand Up @@ -263,7 +265,9 @@ def _list_collections(collections: Sequence[dict[str, Any]]) -> None:
print(f" 📁 {col['title']} ({count} items{processed_info}) - ID: {col['_id']}")


def _select_collection(collections: Sequence[dict[str, Any]]) -> Optional[dict[str, Any]]:
def _select_collection(
collections: Sequence[dict[str, Any]],
) -> Optional[dict[str, Any]]:
"""Interactively select a collection to process."""
from ..state.manager import StateManager

Expand Down