add diag to VerbosityOption

This commit is contained in:
Jon Sequeira 2017-03-09 13:57:37 -08:00
commit ee2b8f2efa
3 changed files with 8 additions and 3 deletions

View file

@ -3,8 +3,10 @@
using System.Collections.Generic;
using Microsoft.DotNet.Cli;
using Microsoft.DotNet.Cli.CommandLine;
using Microsoft.DotNet.Cli.Utils;
using Microsoft.DotNet.Tools.MSBuild;
using Parser = Microsoft.DotNet.Cli.Parser;
namespace Microsoft.DotNet.Tools.Publish
{
@ -25,6 +27,8 @@ namespace Microsoft.DotNet.Tools.Publish
var result = parser.ParseFrom("dotnet publish", args);
Reporter.Output.WriteLine(result.Diagram());
result.ShowHelpIfRequested();
msbuildArgs.Add("/t:Publish");