feat: Add notifications-command option to run custom notification commands

This commit is contained in:
Paul Gauthier (aider) 2025-03-06 12:00:21 -08:00
parent f661025acc
commit 65e059a7d2
3 changed files with 18 additions and 1 deletions

View file

@ -819,6 +819,12 @@ def get_parser(default_config_files, git_root):
default=False,
help="Enable/disable terminal bell notifications when LLM responses are ready (default: False)",
)
group.add_argument(
"--notifications-command",
metavar="COMMAND",
default=None,
help="Specify a command to run for notifications instead of the terminal bell",
)
group.add_argument(
"--detect-urls",
action=argparse.BooleanOptionalAction,