mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 01:04:59 +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",
|
"--auto-commits",
|
||||||
action="store_true",
|
action="store_true",
|
||||||
env_var=f"{env_prefix}AUTO_COMMIT",
|
env_var=f"{env_prefix}AUTO_COMMIT",
|
||||||
|
dest="auto_commits",
|
||||||
default=True,
|
default=True,
|
||||||
help="Enable auto commit of changes (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(
|
parser.add_argument(
|
||||||
"--no-auto-commits",
|
"--no-auto-commits",
|
||||||
action="store_false",
|
action="store_false",
|
||||||
dest="auto_commit",
|
dest="auto_commits",
|
||||||
help="Disable auto commit of changes",
|
help="Disable auto commit of changes",
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
|
@ -170,6 +171,13 @@ def main(args=None, input=None, output=None):
|
||||||
output=output,
|
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)
|
io.tool(*sys.argv, log_only=True)
|
||||||
|
|
||||||
coder = Coder(
|
coder = Coder(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue