mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 14:55:00 +00:00
updated docs
This commit is contained in:
parent
3e96fda71a
commit
c31f2313ba
2 changed files with 3 additions and 2 deletions
|
@ -428,7 +428,7 @@ class Commands:
|
||||||
return self.cmd_run(args, True)
|
return self.cmd_run(args, True)
|
||||||
|
|
||||||
def cmd_run(self, args, add_on_nonzero_exit=False):
|
def cmd_run(self, args, add_on_nonzero_exit=False):
|
||||||
"Run a shell command and optionally add the output to the chat"
|
"Run a shell command and optionally add the output to the chat (alias: !)"
|
||||||
combined_output = None
|
combined_output = None
|
||||||
try:
|
try:
|
||||||
result = subprocess.run(
|
result = subprocess.run(
|
||||||
|
|
|
@ -17,7 +17,8 @@
|
||||||
- `/git <command>`: Run a git command
|
- `/git <command>`: Run a git command
|
||||||
|
|
||||||
## other
|
## other
|
||||||
- `/run <command>`: Run a shell command and optionally add the output to the chat
|
- `/run <command>`: Run a shell command and optionally add the output to the chat, or use `!<command>`.
|
||||||
|
- `/test <command>`: Like run, but automatically adds the output to the chat on non-zero exit codes.
|
||||||
- `/voice`: Speak to aider to [request code changes with your voice](https://aider.chat/docs/voice.html).
|
- `/voice`: Speak to aider to [request code changes with your voice](https://aider.chat/docs/voice.html).
|
||||||
|
|
||||||
# Prompt Toolkit defaults
|
# Prompt Toolkit defaults
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue