dotnet-init --> dotnet new

Fixes issue #374
This commit is contained in:
piotrp 2015-12-03 02:16:52 -08:00 committed by PiotrP
parent 88806eb7de
commit 568eb3aae7
10 changed files with 10 additions and 10 deletions

View file

@ -22,7 +22,7 @@ Common Options (passed before the command):
-v|--verbose Enable verbose output
Common Commands:
init Initialize a basic .NET project
new Initialize a basic .NET project
restore Restore dependencies specified in the .NET project
compile Compiles a .NET project
publish Publishes a .NET project for deployment (including the runtime)

View file

@ -7,7 +7,7 @@ using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace Microsoft.DotNet.Tools.Init
namespace Microsoft.DotNet.Tools.New
{
public class Program
{
@ -72,13 +72,13 @@ namespace Microsoft.DotNet.Tools.Init
DebugHelper.HandleDebugSwitch(ref args);
var app = new CommandLineApplication();
app.Name = "dotnet init";
app.Name = "dotnet new";
app.FullName = ".NET Initializer";
app.Description = "Initializes empty project for .NET Platform";
app.HelpOption("-h|--help");
var dotnetInit = new Program();
app.OnExecute((Func<int>)dotnetInit.CreateEmptyProject);
var dotnetNew = new Program();
app.OnExecute((Func<int>)dotnetNew.CreateEmptyProject);
try
{

View file

@ -1,5 +1,5 @@
{
"name": "dotnet-init",
"name": "dotnet-new",
"version": "1.0.0-*",
"compilationOptions": {
"emitEntryPoint": true