This commit is contained in:
Paul Gauthier 2024-08-09 16:45:33 -03:00
parent a321764b92
commit 247b258c19
6 changed files with 19 additions and 2 deletions

View file

@ -206,6 +206,9 @@
## specify a file to edit (can be used multiple times) ## specify a file to edit (can be used multiple times)
#file: #file:
## specify a read-only file (can be used multiple times)
#read:
## Use VI editing mode in the terminal (default: False) ## Use VI editing mode in the terminal (default: False)
#vim: false #vim: false

View file

@ -210,6 +210,9 @@
## specify a file to edit (can be used multiple times) ## specify a file to edit (can be used multiple times)
#AIDER_FILE= #AIDER_FILE=
## specify a read-only file (can be used multiple times)
#AIDER_READ=
## Use VI editing mode in the terminal (default: False) ## Use VI editing mode in the terminal (default: False)
#AIDER_VIM=false #AIDER_VIM=false

View file

@ -245,6 +245,9 @@ cog.outl("```")
## specify a file to edit (can be used multiple times) ## specify a file to edit (can be used multiple times)
#file: #file:
## specify a read-only file (can be used multiple times)
#read:
## Use VI editing mode in the terminal (default: False) ## Use VI editing mode in the terminal (default: False)
#vim: false #vim: false

View file

@ -252,6 +252,9 @@ cog.outl("```")
## specify a file to edit (can be used multiple times) ## specify a file to edit (can be used multiple times)
#AIDER_FILE= #AIDER_FILE=
## specify a read-only file (can be used multiple times)
#AIDER_READ=
## Use VI editing mode in the terminal (default: False) ## Use VI editing mode in the terminal (default: False)
#AIDER_VIM=false #AIDER_VIM=false

View file

@ -51,8 +51,8 @@ usage: aider [-h] [--openai-api-key] [--anthropic-api-key] [--model]
[--commit] [--commit-prompt] [--dry-run | --no-dry-run] [--commit] [--commit-prompt] [--dry-run | --no-dry-run]
[--lint] [--lint-cmd] [--auto-lint | --no-auto-lint] [--lint] [--lint-cmd] [--auto-lint | --no-auto-lint]
[--test-cmd] [--auto-test | --no-auto-test] [--test] [--test-cmd] [--auto-test | --no-auto-test] [--test]
[--file] [--vim] [--voice-language] [--version] [--file] [--read] [--vim] [--voice-language]
[--just-check-update] [--version] [--just-check-update]
[--check-update | --no-check-update] [--apply] [--yes] [--check-update | --no-check-update] [--apply] [--yes]
[-v] [--show-repo-map] [--show-prompts] [--exit] [-v] [--show-repo-map] [--show-prompts] [--exit]
[--message] [--message-file] [--encoding] [-c] [--gui] [--message] [--message-file] [--encoding] [-c] [--gui]
@ -396,6 +396,10 @@ Environment variable: `AIDER_TEST`
specify a file to edit (can be used multiple times) specify a file to edit (can be used multiple times)
Environment variable: `AIDER_FILE` Environment variable: `AIDER_FILE`
### `--read FILE`
specify a read-only file (can be used multiple times)
Environment variable: `AIDER_READ`
### `--vim` ### `--vim`
Use VI editing mode in the terminal (default: False) Use VI editing mode in the terminal (default: False)
Default: False Default: False

View file

@ -31,6 +31,7 @@ cog.out(get_help_md())
| **/model** | Switch to a new LLM | | **/model** | Switch to a new LLM |
| **/models** | Search the list of available models | | **/models** | Search the list of available models |
| **/quit** | Exit the application | | **/quit** | Exit the application |
| **/read** | Load a file from anywhere and add it to abs_read_only_fnames |
| **/run** | Run a shell command and optionally add the output to the chat (alias: !) | | **/run** | Run a shell command and optionally add the output to the chat (alias: !) |
| **/test** | Run a shell command and add the output to the chat on non-zero exit code | | **/test** | Run a shell command and add the output to the chat on non-zero exit code |
| **/tokens** | Report on the number of tokens used by the current chat context | | **/tokens** | Report on the number of tokens used by the current chat context |