mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
Show options on -v
This commit is contained in:
parent
ed70a32671
commit
d240e5ebc0
1 changed files with 9 additions and 1 deletions
|
@ -111,6 +111,7 @@ def main(args=None, input=None, output=None):
|
|||
"--auto-commits",
|
||||
action="store_true",
|
||||
env_var=f"{env_prefix}AUTO_COMMIT",
|
||||
dest="auto_commits",
|
||||
default=True,
|
||||
help="Enable auto commit of changes (default: True)",
|
||||
)
|
||||
|
@ -118,7 +119,7 @@ def main(args=None, input=None, output=None):
|
|||
parser.add_argument(
|
||||
"--no-auto-commits",
|
||||
action="store_false",
|
||||
dest="auto_commit",
|
||||
dest="auto_commits",
|
||||
help="Disable auto commit of changes",
|
||||
)
|
||||
parser.add_argument(
|
||||
|
@ -170,6 +171,13 @@ def main(args=None, input=None, output=None):
|
|||
output=output,
|
||||
)
|
||||
|
||||
if args.verbose:
|
||||
show = parser.format_values()
|
||||
io.tool(show)
|
||||
io.tool("Option settings:")
|
||||
for arg, val in vars(args).items():
|
||||
io.tool(f" - {arg}: {val}")
|
||||
|
||||
io.tool(*sys.argv, log_only=True)
|
||||
|
||||
coder = Coder(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue