Skip to content

[UUF] Needs more detail on global options and verbosity #49437

@gewarren

Description

@gewarren

Type of issue

Missing information

Description

Provide more detail about how I add global options that apply to all commands/subcommands like verbosity.

Would be nice to have the complete verbosity option with how to specify the acceptance of letters and names, etc... also how best to access the value within context of writing output

In the design guidance they talk about verbosity and if you specify "-v" it should be diagnostic. But then how do you parse and understand if "-v" was specified on its own vs. "--verbosity quiet" and distinguish that from if no value was provided? Need more examples of common patterns/usage for these scenarios.

Page URL

https://learn.microsoft.com/en-us/dotnet/standard/commandline/syntax

Content source URL

https://github.com/dotnet/docs/blob/main/docs/standard/commandline/syntax.md

Document Version Independent Id

9fae8f8e-81ce-4540-8a65-739dd2570259

Platform Id

71a3b4d0-f5df-4cb5-4490-2188dd12ce78

Article author

@gewarren

Metadata

  • ID: 978d8f66-0fb8-4ca2-32c0-8b881c821b34
  • PlatformId: 71a3b4d0-f5df-4cb5-4490-2188dd12ce78
  • Service: dotnet-fundamentals

Related Issues

Metadata

Metadata

Assignees

Type

No type

Projects

Status

🔖 Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions