From 549d8e877378bdf5897e45fa0036a0e9571d2994 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Thu, 29 Aug 2024 06:33:13 -0700 Subject: [PATCH] feat: add cmd_settings to print current settings --- aider/commands.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/aider/commands.py b/aider/commands.py index 86d13f82a..6c755eb00 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -1073,6 +1073,12 @@ class Commands: if repo_map: 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): file_path = Path(file_path)