json2yaml -i throws `NullReferenceException`
When run on directory which doesn't have *.json file:
json2yaml -i
Output:
System.NullReferenceException: Object reference not set to an instance of an object. at Json2Yaml.Json2YamlCli.HandleOutputOptionParsing(List`1 options) in D:\Develop\dotnet\json2yaml\src\Json2Yaml\Json2YamlCli.cs:line 171 at Json2Yaml.Json2YamlCli.<>c__DisplayClass7_0.b__1(ParseResult parseResults) in D:\Develop\dotnet\json2yaml\src\Json2Yaml\Json2YamlCli.cs:line 81 at McMaster.Extensions.CommandLineUtils.CommandLineApplication.HandleParseResult(ParseResult parseResult) in C:\projects\commandlineutils\src\CommandLineUtils\CommandLineApplication.cs:line 566 at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Parse(String[] args) in C:\projects\commandlineutils\src\CommandLineUtils\CommandLineApplication.cs:line 532 at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args) in C:\projects\commandlineutils\src\CommandLineUtils\CommandLineApplication.cs:line 597 at Json2Yaml.Json2YamlCli.Run(String[] args) in D:\Develop\dotnet\json2yaml\src\Json2Yaml\Json2YamlCli.cs:line 83 at Json2Yaml.Program.Main(String[] args) in D:\Develop\dotnet\json2yaml\src\Json2Yaml\Program.cs:line 28 json2yaml tool run 99 ms.