Update README.md
This commit is contained in:
28
README.md
28
README.md
@@ -4,25 +4,33 @@ Various tools to manage a C# solution.
|
|||||||
|
|
||||||
✨ Update a solution to .NET 8 - updates csproj target versions and all Microsoft Nuget Packages
|
✨ Update a solution to .NET 8 - updates csproj target versions and all Microsoft Nuget Packages
|
||||||
|
|
||||||
|
## App
|
||||||
|
The app feels quite self explanatory :)
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
## CLI
|
## CLI
|
||||||
|
|
||||||
**compare** `<SolutionFolderPath>` `<SolutionFilePath>` Finds any missing C# projects in the solution file compared to the folder.
|
**compare** `<SolutionFolderPath>` `<SolutionFilePath>` Finds any missing C# projects in the solution file compared to the folder.
|
||||||
_options_
|
|
||||||
`-l --logprojectfiles` logs all project files found in folder
|
|
||||||
|
|
||||||
**implicit-usings** `<SolutionFilePath>` Find projects that don't have implicit usings enabled. Optionally enables them.
|
|
||||||
_options_
|
_options_
|
||||||
`-m|--add-missing` adds missing implicit usings to all project files
|
`-l --logprojectfiles` logs all project files found in folder
|
||||||
`-d|--enable-disabled` enables disabled implicit usings in all project files
|
|
||||||
`-a|--enable-all` enables implicit usings in all project files
|
|
||||||
|
|
||||||
**format-csproj** Formats a C# project file(s).
|
**format-csproj** Formats a C# project file(s).
|
||||||
`--folder <SolutionFolderPath>` or
|
`--folder <SolutionFolderPath>` or
|
||||||
`--sln <SolutionFilePath>` or
|
`--sln <SolutionFilePath>` or
|
||||||
`--project <CsprojFilePath>`
|
`--project <CsprojFilePath>`
|
||||||
|
|
||||||
## App
|
**implicit-usings** `<SolutionFilePath>` Find projects in sln that don't have ImplicitUsings enabled. Optionally enables them.
|
||||||
The app feels quite self explanatory :)
|
_options_
|
||||||
|
`-m|--add-missing` adds missing implicit usings to all project files
|
||||||
|
`-d|--enable-disabled` enables disabled implicit usings in all project files
|
||||||
|
`-a|--enable-all` enables implicit usings in all project files
|
||||||
|
|
||||||

|
**warnings-as-errors** `<SolutionFilePath>` **NOT IMPLEMENTED IN CLI YET** Find projects in sln that don't have TreatWarningsAsErrors enabled. Optionally enables them.
|
||||||
|
_options_
|
||||||
|
`-m|--add-missing` adds missing TreatWarningsAsErrors to all project files
|
||||||
|
`-d|--enable-disabled` enables disabled TreatWarningsAsErrors in all project files
|
||||||
|
`-a|--enable-all` enables TreatWarningsAsErrors in all project files
|
||||||
|
|
||||||
|
**clear-bin-obj** `<SolutionFolderPath>` **NOT IMPLEMENTED IN CLI YET** Deletes all bin and obj folders, and node_modules folders in the solution folder.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user