mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-03 03:05:00 +00:00
more help
This commit is contained in:
parent
a18b5dcb83
commit
39912fdc09
1 changed files with 4 additions and 2 deletions
|
@ -296,7 +296,9 @@ def main(args=None, input=None, output=None):
|
|||
if not git_root and args.git:
|
||||
if io.confirm_ask("No git repo found, create one to track GPT's changes (recommended)?"):
|
||||
repo = git.Repo.init(os.getcwd())
|
||||
global_git_config = git.GitConfigParser([str(Path.home() / ".gitconfig")], read_only=True)
|
||||
global_git_config = git.GitConfigParser(
|
||||
[str(Path.home() / ".gitconfig")], read_only=True
|
||||
)
|
||||
with repo.config_writer() as git_config:
|
||||
if not global_git_config.has_option("user", "name"):
|
||||
git_config.set_value("user", "name", "Your Name")
|
||||
|
@ -361,7 +363,7 @@ def main(args=None, input=None, output=None):
|
|||
coder.apply_updates(content)
|
||||
return
|
||||
|
||||
io.tool_output("Use /help to see in-chat commands.")
|
||||
io.tool_output("Use /help to see in-chat commands, run with --help to see cmd line args")
|
||||
if args.message:
|
||||
io.tool_output()
|
||||
coder.run(with_message=args.message)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue