Skip to content

fix(cli): show config file content in debug config command#64

Merged
echobt merged 1 commit intomasterfrom
fix/bounty-issue-1418
Jan 26, 2026
Merged

fix(cli): show config file content in debug config command#64
echobt merged 1 commit intomasterfrom
fix/bounty-issue-1418

Conversation

@echobt
Copy link
Contributor

@echobt echobt commented Jan 26, 2026

Summary

This PR fixes the cortex debug config command to display the actual content of configuration files, not just their paths and existence status.

Changes

  • Added global_config_content and local_config_content fields to ConfigDebugOutput struct
  • Modified run_config function to read config file contents when they exist
  • Added display of config file contents in both JSON and human-readable output formats

Related

Fixes PlatformNetwork/bounty-challenge#1418

Fixes bounty issue #1418

The debug config command previously only showed config file paths and
whether they exist, but did not display the actual configuration content.
This change adds the config file contents to both JSON and human-readable
output formats when the files exist.
@echobt echobt merged commit e025cbe into master Jan 26, 2026
10 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] debug config shows config file locations but doesn't show actual content

2 participants