diff options
author | github-actions <41898282+github-actions[bot]@users.noreply.github.com> | 2025-06-04 18:33:45 +0000 |
---|---|---|
committer | github-actions <41898282+github-actions[bot]@users.noreply.github.com> | 2025-06-04 18:33:45 +0000 |
commit | 159f549b3e07c0b86ce0a41cae7abf2ca38efd71 (patch) | |
tree | 575fb6938a444c920893a95805b1fa923aabebaf | |
parent | d4166e03980177c3395fddac85977645ee2a4294 (diff) | |
download | crumb-159f549b3e07c0b86ce0a41cae7abf2ca38efd71.tar.gz crumb-159f549b3e07c0b86ce0a41cae7abf2ca38efd71.tar.bz2 crumb-159f549b3e07c0b86ce0a41cae7abf2ca38efd71.zip |
Commit from GitHub Actions (Ruff)
-rw-r--r-- | search.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3,6 +3,7 @@ import sys LOG_PATH = os.path.expanduser("~/.crumb/history.org") + def search_log(query): """ Search for a given query string within the crumb history log file and print matching entries. @@ -29,6 +30,7 @@ def search_log(query): if found == 0: print("No matches found.") + if __name__ == "__main__": """ Entry point for the script. Parses command line arguments and calls the search function. |