-
Notifications
You must be signed in to change notification settings - Fork 620
Closed
Labels
area-CLICommand-Line InterfaceCommand-Line InterfacebugSomething isn't workingSomething isn't working
Description
To Reproduce
dotnet tool update -g dotnet-trx
$env:NO_COLOR=1
trx --helpRaw output:
USAGE:
trx [OPTIONS]
OPTIONS:
DEFAULT
-h, --help Prints help information
-p, --path Optional base directory for *.trx files
discovery. Defaults to current directory
-o, --output Include test output
-r, --recursive �[1mTrue�[0m Recursively search for *.trx files
--skipped �[1mTrue�[0m Include skipped tests
--no-exit-code Do not return a -1 exit code on test
failures
--version Show version information
--gh-comment �[1mTrue�[0m Report as GitHub PR comment
--gh-summary �[1mTrue�[0m Report as GitHub step summary
Expected behavior
Renders text only, with no bold or any other styles applied.
Screenshots
Default values have bold style applied:
The importance of the issue is that it prevents having an automated way to self-document a CLI tool via the package readme, automatically updated after compile with up-to-date usage info, as shown in https://www.cazzulino.com/auto-doc-cli.html
Metadata
Metadata
Assignees
Labels
area-CLICommand-Line InterfaceCommand-Line InterfacebugSomething isn't workingSomething isn't working
