add help text for a couple of commands

This commit is contained in:
jonsequitur 2017-03-02 21:45:44 -08:00
parent d40a87bc44
commit 614f71d19f

View file

@ -53,7 +53,8 @@ namespace Microsoft.DotNet.Tools.Complete
o => int.Parse(o.Arguments.Single()))); o => int.Parse(o.Arguments.Single())));
private static Command Add() => private static Command Add() =>
Command("add", "", Command("add",
".NET Add Command",
ExactlyOneArgument, ExactlyOneArgument,
Package(), Package(),
Reference(), Reference(),
@ -103,7 +104,8 @@ namespace Microsoft.DotNet.Tools.Complete
.WithSuggestionsFrom(_ => new[] { "DEBUG", "RELEASE" }))); .WithSuggestionsFrom(_ => new[] { "DEBUG", "RELEASE" })));
private static Command List() => private static Command List() =>
Command("list", "", Command("list",
".NET List Command",
ExactlyOneArgument ExactlyOneArgument
.With(name: "PROJECT", .With(name: "PROJECT",
description: description:
@ -304,7 +306,7 @@ namespace Microsoft.DotNet.Tools.Complete
private static Command Remove() => private static Command Remove() =>
Command("remove", Command("remove",
"", ".NET Remove Command",
HelpOption(), HelpOption(),
Command("package", Command("package",
"Command to remove package reference.", "Command to remove package reference.",