render flag help next to values for config command #574
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request refactors how configuration tables are generated and rendered in text reports, with a focus on improving clarity and usability for users of the config command. The main changes include adding command-line argument descriptions to each configuration field, introducing a custom text renderer for configuration tables, and simplifying report creation by removing unused parameters.
Configuration Table Improvements
Descriptionfield to each configuration item in the output ofconfigurationTableValues, so the generated table now shows the corresponding command-line argument for each item [1] [2].configurationTableTextRendererthat renders the configuration table in text reports, including field names, values, and their command-line descriptions for improved clarity.Report Generation Simplification
scriptOutputsparameter from thereport.Createfunction and all its call sites, simplifying the report generation interface [1] [2] [3].Additional Enhancements
c6FromOutputto extract C6 state information for inclusion in the configuration table.These changes make the configuration output more user-friendly and maintainable, while also streamlining the codebase by removing unnecessary parameters.