Skip to content

dotnet CLI: Create consistent console output mechanism + features #48806

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
MiYanni opened this issue May 2, 2025 · 0 comments
Open

dotnet CLI: Create consistent console output mechanism + features #48806

MiYanni opened this issue May 2, 2025 · 0 comments
Assignees
Labels
Area-CLI Feature Request untriaged Request triage from a team member

Comments

@MiYanni
Copy link
Member

MiYanni commented May 2, 2025

Summary

Currently, the dotnet CLI uses a basic Reporter class that is used to output to the console. This is a very basic outputter and doesn't offer any shared logic or functionality for the commands to utilize. We've added other aspects around it to help with code reuse, but we need several mechanisms to kinda "heard the cats" on output from the CLI in general.

High-Level Changes/Goals

  • Allow built-in filtering mechanism for different output levels (built-in "verbosity" concept)
  • Allow different output formats (machine-readable formats included)
  • Allow better support for help text (currently very haphazard, only basic support from S.CL)
  • Allow output to include both stdout and stderr
  • Review all current command outputs and integrate these consistency features
  • QoL: Built-in coloring and resource string support
  • Potential: Native recognition of S.CL options (such as verbosity, output formats, help) to work with the features above
  • Potential: Consider design for the interactive prompt experience as it relates to output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-CLI Feature Request untriaged Request triage from a team member
Projects
None yet
Development

No branches or pull requests

1 participant