private async Task ExecuteConsoleCommandDirectorySearch(Options options) { var getDirectorySearchResultQuery = new GetDirectorySearchResultQuery(options); var searchResult = await _mediator.Send(getDirectorySearchResultQuery); _consolePrinter.PrintDirectorySearchResult(searchResult.MatchedDirectories, searchResult.MatchedFiles); }