mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-04 19:55:00 +00:00
feat: add /report command to submit GitHub issues
This commit is contained in:
parent
9434f99458
commit
5c6d4dbbf1
1 changed files with 8 additions and 0 deletions
|
@ -1135,6 +1135,14 @@ class Commands:
|
||||||
settings = format_settings(self.parser, self.args)
|
settings = format_settings(self.parser, self.args)
|
||||||
self.io.tool_output(settings)
|
self.io.tool_output(settings)
|
||||||
|
|
||||||
|
def cmd_report(self, args):
|
||||||
|
"Report an issue to the aider GitHub repository"
|
||||||
|
from aider.report import report_github_issue
|
||||||
|
|
||||||
|
announcements = "\n".join(self.coder.get_announcements())
|
||||||
|
issue_text = f"User report:\n\n{args}\n\nAnnouncements:\n{announcements}"
|
||||||
|
report_github_issue(issue_text)
|
||||||
|
|
||||||
|
|
||||||
def expand_subdir(file_path):
|
def expand_subdir(file_path):
|
||||||
if file_path.is_file():
|
if file_path.is_file():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue