mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-06 20:54:59 +00:00
commit
f1306d3301
3 changed files with 177 additions and 6 deletions
|
@ -1366,6 +1366,14 @@ class Commands:
|
|||
|
||||
report_github_issue(issue_text, title=title, confirm=False)
|
||||
|
||||
def cmd_editor(self, initial_content=""):
|
||||
"Open an editor to write a prompt"
|
||||
from aider.editor import pipe_editor
|
||||
|
||||
user_input = pipe_editor(initial_content, suffix="md")
|
||||
self.io.display_user_input(user_input)
|
||||
self._generic_chat_command(user_input, self.coder.edit_format)
|
||||
|
||||
|
||||
def expand_subdir(file_path):
|
||||
if file_path.is_file():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue