Search file names
Search file contents
Replace text
Watch a directory
watch_dir calls on_event for file changes and returns a handle with
stop(). recursive=True watches nested directories, and timeout= can bound
how long the watch stays open. The CLI streams watch events as JSON lines.