Improve command completion.

This commit improves command completion by updating the `new` and `nuget` parsers to
match their current supported syntax.  Removes the unnecessary description
strings that were not used (these commands are parsed by assemblies external to
the CLI). The top level options are also sync'd to the currently supported
options.

Additionally, it unhides the `msbuild` and `vstest` commands so that `dotnet
complete` suggests them.

Fixes #9286.
This commit is contained in:
Peter Huene 2018-05-15 14:35:09 -07:00
parent 08b20ef268
commit 6f184070f0
No known key found for this signature in database
GPG key ID: E1D265D820213D6A
5 changed files with 64 additions and 114 deletions

View file

@ -163,7 +163,7 @@ namespace Microsoft.DotNet.Tests
{
const string argumentToSend = "push";
string[] args = { "nuget", argumentToSend };
string[] args = { "nuget", argumentToSend, "path" };
Cli.Program.ProcessArgs(args);
_fakeTelemetry