Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove command list-vs #1186

Merged
merged 6 commits into from
Aug 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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