mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-03 11:14:59 +00:00
feat: add cmd_settings to print current settings
This commit is contained in:
parent
a4853ae184
commit
549d8e8773
1 changed files with 6 additions and 0 deletions
|
@ -1073,6 +1073,12 @@ class Commands:
|
||||||
if repo_map:
|
if repo_map:
|
||||||
self.io.tool_output("The repo map has been refreshed, use /map to view it.")
|
self.io.tool_output("The repo map has been refreshed, use /map to view it.")
|
||||||
|
|
||||||
|
def cmd_settings(self, args):
|
||||||
|
"Print out the current settings"
|
||||||
|
from aider.format_settings import format_settings
|
||||||
|
settings = format_settings(self.parser, self.args)
|
||||||
|
self.io.tool_output(settings)
|
||||||
|
|
||||||
|
|
||||||
def expand_subdir(file_path):
|
def expand_subdir(file_path):
|
||||||
file_path = Path(file_path)
|
file_path = Path(file_path)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue