-
Notifications
You must be signed in to change notification settings - Fork 479
Open
Description
Is your feature request related to a problem? Please describe.
The current dnscontrol preview output is great for viewing on the CLI or in GitHub Actions runs, but it can't be colorized in a GitHub/Gitea Pull Request comment (that I can figure out, at least)
Describe the solution you'd like
An option like --diff-format=diff to synthesize a patch-style diff that could be included in a \```diff codeblock and thus be automatically rendered with colors symbolizing addition, removal, and changes.
Describe alternatives you've considered
- Just giving up on colorized output and setting
NO_COLORor stripping out the ANSI color sequences in the CI step that posts the comment. - Building my own output by taking the JSON report and spitting out markdown formatted text with the changed domain and changes summarized under "Added", "Changed", and "Deleted" subheadings
Additional context
Relates to #2499

onlyhavecans and cafferata
Metadata
Metadata
Assignees
Labels
No labels