move parse result validation to CommandBase to allow custom messages

This commit is contained in:
Jon Sequeira 2017-03-19 14:30:43 -07:00
parent e0ca794ed5
commit 43c13f2f53
16 changed files with 75 additions and 31 deletions

View file

@ -18,7 +18,8 @@ namespace Microsoft.DotNet.Tools.Remove.PackageReference
public RemovePackageReferenceCommand(
AppliedOption appliedCommand,
string fileOrDirectory)
string fileOrDirectory,
ParseResult parseResult) : base(parseResult)
{
if (appliedCommand == null)
{