Rename command-line option?
The command line switch to specify the language is `--language`.
However, the value accepted for C# is `dotnet`.
.NET is the ecosystem, not the _language_ - a user could be using .NET with VB.NET or F#.
Given that `.csproj` files are searched for, VB.NET and C# are not supported by the tool.
Possible options:
1. Remove `dotnet` and replace with `csharp`
2. Add `csharp` and make `dotnet` an alias for it
3. Remove `dotnet` and replace with `csharp` and add `fsharp` and `vb`
I would suggest 1 if we don't care about backwards compatibility, otherwise 2. 3 could be done if/when the need arises.
0 条评论