dotnet list reference and other similar commands should not print header or should have a switch to disable it
See original GitHub issueCurrently scenarios like:
dotnet list reference | xargs ...
are not working because we print headers. We should have a switch to disable that or not print it at all.
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
dotnet list reference command - .NET CLI
The dotnet list reference command provides a convenient option to list project references for a given project.
Read more >The type is defined in an assembly that is not referenced ...
In my case "You must add a reference to assembly" actually meant, that caller and reference projects didn't have the same target framework....
Read more >OpenLAB CDS Report Template Editor
With Single Sequence Summary reports, RTE automatically creates a list of all sequences in the current data scope. The generated report then shows...
Read more >Heroku CLI Commands
These are the help texts for each of the core Heroku CLI commands. You can also see this text in your terminal with...
Read more >Technical Reference Guide - TM-C3500 series
If you turn off the product using the power switch, the print head is automatically capped to avoid ink from drying. When you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes please. I just encountered a scenario where I need to retrieve the RID from the cmd line. Having
dotnet info
support machine-readable output would be nice.cc @KathleenDollard
This is quite widespread in the *nix world and was the first thing I and others typically reach for. Indeed, I was driven here to post about this issue precisely because:
for m in $(dotnet ef migrations list 2>/dev/null); do
didn’t do the correct thing. (Because the first two lines of output on STDOUT are
Build started...
andBuild succeeded.
before the actual migrations are printed.)It’s all well and good for there to be
--quiet
or--verbose
flags for fine-grained control. But even if those were available, I would still consider the CLI to be violating convention and norms if it continues to print diagnostic output to STDOUT by default.