mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 08:14:59 +00:00
tweaking cmd line args, readme usage
This commit is contained in:
parent
905a81d78e
commit
c33169756a
2 changed files with 22 additions and 23 deletions
42
README.md
42
README.md
|
@ -73,34 +73,34 @@ to set many options:
|
|||
|
||||
```
|
||||
-h, --help show this help message and exit
|
||||
-c CONFIG_FILE, --config CONFIG_FILE
|
||||
Specify the config file (default: search for
|
||||
.aider.conf.yml in git root or home directory)
|
||||
--input-history-file INPUT_HISTORY_FILE
|
||||
Specify the chat input history file (default:
|
||||
.aider.input.history) [env var:
|
||||
AIDER_INPUT_HISTORY_FILE]
|
||||
.aider.input.history) [env var: AIDER_INPUT_HISTORY_FILE]
|
||||
--chat-history-file CHAT_HISTORY_FILE
|
||||
Specify the chat history file (default:
|
||||
.aider.chat.history.md) [env var:
|
||||
AIDER_CHAT_HISTORY_FILE]
|
||||
--model MODEL Specify the model to use for the main chat (default:
|
||||
gpt-4) [env var: AIDER_MODEL]
|
||||
-3 Use gpt-3.5-turbo model for the main chat (not
|
||||
advised)
|
||||
--no-pretty Disable pretty, colorized output [env var:
|
||||
.aider.chat.history.md) [env var: AIDER_CHAT_HISTORY_FILE]
|
||||
--model MODEL Specify the model to use for the main chat (default: gpt-4)
|
||||
[env var: AIDER_MODEL]
|
||||
-3 Use gpt-3.5-turbo model for the main chat (not advised)
|
||||
--pretty Enable pretty, colorized output (default: True) [env var:
|
||||
AIDER_PRETTY]
|
||||
--apply FILE Apply the changes from the given file instead of
|
||||
running the chat (debug)
|
||||
--no-auto-commits Disable auto commit of changes [env var:
|
||||
AIDER_AUTO_COMMITS]
|
||||
--dry-run Perform a dry run without applying changes (default:
|
||||
False)
|
||||
--show-diffs Show diffs when committing changes (default: False)
|
||||
[env var: AIDER_SHOW_DIFFS]
|
||||
--ctags [CTAGS] Add ctags to the chat to help GPT understand the
|
||||
codebase (default: check for ctags executable) [env
|
||||
var: AIDER_CTAGS]
|
||||
--no-pretty Disable pretty, colorized output
|
||||
--apply FILE Apply the changes from the given file instead of running
|
||||
the chat (debug)
|
||||
--auto-commits Enable auto commit of changes (default: True) [env var:
|
||||
AIDER_AUTO_COMMIT]
|
||||
--no-auto-commits Disable auto commit of changes
|
||||
--dry-run Perform a dry run without applying changes (default: False)
|
||||
--show-diffs Show diffs when committing changes (default: False) [env
|
||||
var: AIDER_SHOW_DIFFS]
|
||||
--ctags [CTAGS] Add ctags to the chat to help GPT understand the codebase
|
||||
(default: check for ctags executable) [env var:
|
||||
AIDER_CTAGS]
|
||||
--yes Always say yes to every confirmation
|
||||
-v, --verbose Enable verbose output
|
||||
|
||||
```
|
||||
|
||||
## Chat commands
|
||||
|
|
|
@ -100,7 +100,6 @@ def main(args=None, input=None, output=None):
|
|||
"--no-pretty",
|
||||
action="store_false",
|
||||
dest="pretty",
|
||||
env_var=f"{env_prefix}PRETTY",
|
||||
help="Disable pretty, colorized output",
|
||||
)
|
||||
parser.add_argument(
|
||||
|
@ -111,6 +110,7 @@ def main(args=None, input=None, output=None):
|
|||
parser.add_argument(
|
||||
"--auto-commits",
|
||||
action="store_true",
|
||||
env_var=f"{env_prefix}AUTO_COMMIT",
|
||||
default=True,
|
||||
help="Enable auto commit of changes (default: True)",
|
||||
)
|
||||
|
@ -119,7 +119,6 @@ def main(args=None, input=None, output=None):
|
|||
"--no-auto-commits",
|
||||
action="store_false",
|
||||
dest="auto_commit",
|
||||
env_var=f"{env_prefix}AUTO_COMMIT",
|
||||
help="Disable auto commit of changes",
|
||||
)
|
||||
parser.add_argument(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue