Avoid modifying commands in help writer
Open
Area-CLI
untriaged
- Dominant language
- C#
- Stars
- 3.2k
- Forks
- 1.3k
- PR merge metrics
- PR metrics pending
Description
This code modifies existing Command instances or their arguments/options:
https://github.com/dotnet/sdk/blob/32c515a7303abe937aef8e183bdd896e7ccb93bb/src/Cli/dotnet/Parser.cs#L401-L420
Command instances are stored in static fields and hence this code modifies global state.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.