krz/crumb

A local alternative to your browser's history. browser-history cli local-first privacy

Commit 159f549b3e

159f549b3e07c0b86ce0a41cae7abf2ca38efd71

parent: d4166e0398

Unsigned

github-actions <41898282+github-actions[bot]@users.noreply.github.com> · 2025-06-04 18:33 UTC

Commit from GitHub Actions (Ruff)

Layout: unified · split

search.py +2
@@ -3,6 +3,7 @@ import sys
33
44LOG_PATH = os.path.expanduser("~/.crumb/history.org")
55
6
67def search_log(query):
78 """
89 Search for a given query string within the crumb history log file and print matching entries.
@@ -29,6 +30,7 @@ def search_log(query):
2930 if found == 0:
3031 print("No matches found.")
3132
33
3234if __name__ == "__main__":
3335 """
3436 Entry point for the script. Parses command line arguments and calls the search function.