From 566eaf63e764c0f9427cc2c863cf54292e6fbc4e Mon Sep 17 00:00:00 2001 From: Hussam Lawen Date: Wed, 22 Jan 2025 12:00:15 +0200 Subject: [PATCH] Update cli.py --- pr_agent/cli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pr_agent/cli.py b/pr_agent/cli.py index 32be260e..ca44312e 100644 --- a/pr_agent/cli.py +++ b/pr_agent/cli.py @@ -77,6 +77,8 @@ def run(inargs=None, args=None): async def inner(): if args.issue_url: result = await asyncio.create_task(PRAgent().handle_request(args.issue_url, [command] + args.rest)) + elif args.repo_url: + result = await asyncio.create_task(PRAgent().handle_request(args.repo_url, [command] + args.rest)) else: result = await asyncio.create_task(PRAgent().handle_request(args.pr_url, [command] + args.rest))