What is the -o flag in this .NET CLI command: dotnet new webapi -o RESTfulAPIName?
My .Net Core SDK version is 6.0.403.
CodePudding user response:
It's the Output flag. It's used to change the location of the scaffolded files to another directory name. By default, the code is placed in ./<ProjectName>/.
You can see the documentation for this flag by running dotnet new --help or 
CodePudding user response:
All these answers are very helpful and below is the best answer I found by @gunr2171
It's the Output flag. It's used to change the location of the scaffolded files to another directory name. By default, the code is placed in .//.
You can see the documentation for this flag by running dotnet new --help or online.
