Implement dotnet list projects (#5027)

* Implement dotnet list projects

* Address PR comments

* Fix build breaks
This commit is contained in:
Justin Goshi 2016-12-16 06:41:47 -10:00 committed by GitHub
parent 441277ccfa
commit 806d5a2589
22 changed files with 480 additions and 56 deletions

View file

@ -7,12 +7,17 @@ namespace Microsoft.DotNet.Cli.CommandLine
{
internal class CommandParsingException : Exception
{
public CommandParsingException(CommandLineApplication command, string message)
public CommandParsingException(
CommandLineApplication command,
string message,
bool isRequireSubCommandMissing = false)
: base(message)
{
Command = command;
IsRequireSubCommandMissing = isRequireSubCommandMissing;
}
public CommandLineApplication Command { get; }
public bool IsRequireSubCommandMissing { get; }
}
}