diff options
Diffstat (limited to 'search.py')
-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. |