Skip to content

Commit 45590eb

Browse files
fix: Remove timestamp prefix from config command output to ensure valid YAML (issue #27) (#44)
The 'aletheia-probe config' command was prepending timestamps to the YAML output because it used status_logger.info() which includes timestamp formatting. This made the output invalid YAML that couldn't be used as a configuration template. Changed the output method from status_logger.info() to print() to output clean, valid YAML that can be directly used as a template. Co-authored-by: florath-ai-assistant[bot] <Andreas.Florath@telekom.de>
1 parent bdf0b93 commit 45590eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aletheia_probe/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def config() -> None:
9595
status_logger = get_status_logger()
9696
try:
9797
config_output = get_config_manager().show_config()
98-
status_logger.info(config_output)
98+
print(config_output)
9999
except Exception as e:
100100
status_logger.error(f"Error displaying configuration: {e}")
101101
exit(1)

0 commit comments

Comments
 (0)