1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-08 03:13:38 +02:00

aider: add page (#15569)

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:
Simon St-Pierre 2025-02-06 07:05:07 -05:00 committed by GitHub
parent 9dfd16bdbe
commit f8a87f0d68
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

28
pages/common/aider.md Normal file
View file

@ -0,0 +1,28 @@
# aider
> Pair program with the LLM of your choice.
> More information: <https://github.com/Aider-AI/aider>.
- Start a new project or work with an existing code base:
`aider --model {{model_name}} --api-key {{your_api_key}}`
- Add new features or test cases to specific files:
`aider {{path/to/file1 path/to/file2 ...}}`
- Describe a bug and let `aider` fix it:
`aider {{path/to/file}} --describe "{{bug_description}}"`
- Refactor code in a specific file:
`aider {{path/to/file}} --refactor`
- Update documentation:
`aider {{path/to/file}} --update-docs`
- Display help:
`aider --help`