mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 16:54:59 +00:00
feat: Add verbose printing of default config files before reversing
This commit is contained in:
parent
1cc1ce0bd4
commit
aaade794a6
1 changed files with 8 additions and 0 deletions
|
@ -324,6 +324,14 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
|||
default_config_files.append(Path.home() / conf_fname) # homedir
|
||||
default_config_files = list(map(str, default_config_files))
|
||||
|
||||
parser = get_parser(default_config_files, git_root)
|
||||
args, unknown = parser.parse_known_args(argv)
|
||||
|
||||
if args.verbose:
|
||||
print("Default config files before reversing:")
|
||||
for file in default_config_files:
|
||||
print(f" - {file}")
|
||||
|
||||
default_config_files.reverse()
|
||||
|
||||
parser = get_parser(default_config_files, git_root)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue