mostly working after the refactor

This commit is contained in:
Tim Bendt
2025-07-02 10:18:10 -04:00
parent 5232bf3b09
commit 0bbb9e6cd4
9 changed files with 27 additions and 28 deletions

View File

@@ -128,7 +128,7 @@ async def archive_message(message_id: int) -> bool:
"""
try:
process = await asyncio.create_subprocess_shell(
f"himalaya message archive {message_id}",
f"himalaya message move Archives {message_id}",
stdout=asyncio.subprocess.PIPE,
stderr=asyncio.subprocess.PIPE,
)
@@ -146,7 +146,6 @@ async def get_message_content(message_id: int) -> Tuple[Optional[str], bool]:
Args:
message_id: The ID of the message to retrieve
format: The desired format of the message content ("html" or "text")
Returns:
Tuple containing:
@@ -176,7 +175,7 @@ async def get_message_content(message_id: int) -> Tuple[Optional[str], bool]:
def sync_himalaya():
"""Synchronize data using Himalaya."""
"""This command does not exist. Halucinated by AI."""
try:
# subprocess.run(["himalaya", "sync"], check=True)
print("Himalaya sync completed successfully.")