Skip to content

Commit

Permalink
Remove command list-vs (#1186)
Browse files Browse the repository at this point in the history
  • Loading branch information
josefpihrt committed Aug 24, 2023
1 parent d95f921 commit a71425a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 62 deletions.
35 changes: 0 additions & 35 deletions src/CommandLine/Commands/ListVisualStudioCommand.cs

This file was deleted.

12 changes: 0 additions & 12 deletions src/CommandLine/Options/ListVisualStudioCommandLineOptions.cs

This file was deleted.

15 changes: 0 additions & 15 deletions src/CommandLine/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -212,10 +212,6 @@ private static int Main(string[] args)
return Help(helpCommandLineOptions);
case MigrateCommandLineOptions migrateCommandLineOptions:
return Migrate(migrateCommandLineOptions);
#if DEBUG
case ListVisualStudioCommandLineOptions listVisualStudioCommandLineOptions:
return ListVisualStudio(listVisualStudioCommandLineOptions);
#endif
default:
throw new InvalidOperationException();
}
Expand Down Expand Up @@ -658,17 +654,6 @@ private static async Task<int> SpellcheckAsync(SpellcheckCommandLineOptions opti
return GetExitCode(status);
}

#if DEBUG
private static int ListVisualStudio(ListVisualStudioCommandLineOptions options)
{
var command = new ListVisualStudioCommand(options);

CommandStatus status = command.Execute();

return GetExitCode(status);
}
#endif

private static async Task<int> PhysicalLinesOfCodeAsync(PhysicalLinesOfCodeCommandLineOptions options)
{
if (!options.TryGetProjectFilter(out ProjectFilter projectFilter))
Expand Down

0 comments on commit a71425a

Please sign in to comment.