mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
cleanup
This commit is contained in:
parent
e3180f7882
commit
5fe85f7233
1 changed files with 0 additions and 12 deletions
|
@ -11,7 +11,6 @@ from pathlib import Path
|
|||
import git
|
||||
|
||||
from aider.dump import dump # noqa: F401
|
||||
from aider.run_cmd import run_cmd
|
||||
|
||||
IMAGE_EXTENSIONS = {".png", ".jpg", ".jpeg", ".gif", ".bmp", ".tiff", ".webp"}
|
||||
|
||||
|
@ -351,14 +350,3 @@ def printable_shell_command(cmd_list):
|
|||
return subprocess.list2cmdline(cmd_list)
|
||||
else:
|
||||
return shlex.join(cmd_list)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
if len(sys.argv) > 1:
|
||||
command = " ".join(sys.argv[1:])
|
||||
exit_status, output = run_cmd(command)
|
||||
dump(exit_status)
|
||||
dump(output)
|
||||
else:
|
||||
print("Usage: python -m aider.utils <command>")
|
||||
sys.exit(1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue