Skip to content

Commit a1958c0

Browse files
System.CommandLine is split into too many namespaces (#1788)
* Move System.CommandLine.Builder to System.CommandLine * Move System.CommandLine.Parsing.ParseResult to System.CommandLine * Move System.CommandLine.Invocation.ICommandHandler to System.CommandLine * Remove System.CommandLine.Builder Namespace * Remove unnecessary whitespace * Remove unnecessary whitespace
1 parent 58b77e4 commit a1958c0

File tree

52 files changed

+155
-194
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+155
-194
lines changed

samples/HostingPlayground/Program.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System.CommandLine;
2-
using System.CommandLine.Builder;
32
using System.CommandLine.Hosting;
43
using System.CommandLine.NamingConventionBinder;
54
using Microsoft.Extensions.Hosting;

src/System.CommandLine.ApiCompatibility.Tests/ApiCompatibilityApprovalTests.System_CommandLine_Hosting_api_is_not_changed.approved.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
System.CommandLine.Hosting
1+
System.CommandLine.Hosting
22
public static class DirectiveConfigurationExtensions
3-
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddCommandLineDirectives(this Microsoft.Extensions.Configuration.IConfigurationBuilder config, System.CommandLine.Parsing.ParseResult commandline, System.String name)
3+
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddCommandLineDirectives(this Microsoft.Extensions.Configuration.IConfigurationBuilder config, System.CommandLine.ParseResult commandline, System.String name)
44
public static class HostingExtensions
55
public static OptionsBuilder<TOptions> BindCommandLine<TOptions>(this OptionsBuilder<TOptions> optionsBuilder)
66
public static Microsoft.Extensions.Hosting.IHost GetHost(this System.CommandLine.Invocation.InvocationContext invocationContext)
77
public static System.CommandLine.Invocation.InvocationContext GetInvocationContext(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder)
88
public static System.CommandLine.Invocation.InvocationContext GetInvocationContext(this Microsoft.Extensions.Hosting.HostBuilderContext context)
99
public static Microsoft.Extensions.Hosting.IHostBuilder UseCommandHandler<TCommand, THandler>(this Microsoft.Extensions.Hosting.IHostBuilder builder)
1010
public static Microsoft.Extensions.Hosting.IHostBuilder UseCommandHandler(this Microsoft.Extensions.Hosting.IHostBuilder builder, System.Type commandType, System.Type handlerType)
11-
public static System.CommandLine.Builder.CommandLineBuilder UseHost(this System.CommandLine.Builder.CommandLineBuilder builder, System.Action<Microsoft.Extensions.Hosting.IHostBuilder> configureHost = null)
12-
public static System.CommandLine.Builder.CommandLineBuilder UseHost(this System.CommandLine.Builder.CommandLineBuilder builder, System.Func<System.String[],Microsoft.Extensions.Hosting.IHostBuilder> hostBuilderFactory, System.Action<Microsoft.Extensions.Hosting.IHostBuilder> configureHost = null)
11+
public static System.CommandLine.CommandLineBuilder UseHost(this System.CommandLine.CommandLineBuilder builder, System.Action<Microsoft.Extensions.Hosting.IHostBuilder> configureHost = null)
12+
public static System.CommandLine.CommandLineBuilder UseHost(this System.CommandLine.CommandLineBuilder builder, System.Func<System.String[],Microsoft.Extensions.Hosting.IHostBuilder> hostBuilderFactory, System.Action<Microsoft.Extensions.Hosting.IHostBuilder> configureHost = null)
1313
public static Microsoft.Extensions.Hosting.IHostBuilder UseInvocationLifetime(this Microsoft.Extensions.Hosting.IHostBuilder host, System.CommandLine.Invocation.InvocationContext invocation, System.Action<InvocationLifetimeOptions> configureOptions = null)
1414
public class InvocationLifetime, Microsoft.Extensions.Hosting.IHostLifetime
1515
.ctor(Microsoft.Extensions.Options.IOptions<InvocationLifetimeOptions> options, Microsoft.Extensions.Hosting.IHostEnvironment environment, Microsoft.Extensions.Hosting.IHostApplicationLifetime applicationLifetime, System.CommandLine.Invocation.InvocationContext context = null, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory = null)

src/System.CommandLine.ApiCompatibility.Tests/ApiCompatibilityApprovalTests.System_CommandLine_NamingConventionBinder_api_is_not_changed.approved.txt

+68-68
Large diffs are not rendered by default.

src/System.CommandLine.ApiCompatibility.Tests/ApiCompatibilityApprovalTests.System_CommandLine_api_is_not_changed.approved.txt

+70-71
Large diffs are not rendered by default.

src/System.CommandLine.Benchmarks/CommandLine/Perf_Parser_Directives_Suggest.cs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

44
using System.CommandLine.Benchmarks.Helpers;
5-
using System.CommandLine.Builder;
65
using System.CommandLine.Invocation;
76
using System.CommandLine.Parsing;
87
using System.Threading.Tasks;

src/System.CommandLine.Benchmarks/CommandLine/Perf_Parser_ParseResult.cs

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
using System.Collections.Generic;
55
using System.CommandLine.Benchmarks.Helpers;
6-
using System.CommandLine.Builder;
76
using System.CommandLine.Parsing;
87
using System.Linq;
98
using BenchmarkDotNet.Attributes;

src/System.CommandLine.Benchmarks/CommandLine/Perf_Parser_Simple.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using BenchmarkDotNet.Attributes;
2-
using System.CommandLine.Builder;
32
using System.CommandLine.Invocation;
43
using System.CommandLine.Parsing;
54
using System.Threading.Tasks;

src/System.CommandLine.Benchmarks/CommandLine/Perf_Parser_TypoCorrection.cs

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
using System.Collections.Generic;
55
using System.CommandLine.Benchmarks.Helpers;
6-
using System.CommandLine.Builder;
76
using System.CommandLine.Parsing;
87
using System.Linq;
98
using System.Threading.Tasks;

src/System.CommandLine.DragonFruit.Tests/ConfigureFromMethodTests.cs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

44
using System.CommandLine.Binding;
5-
using System.CommandLine.Builder;
65
using System.CommandLine.Invocation;
76
using System.CommandLine.IO;
87
using System.CommandLine.Parsing;

src/System.CommandLine.DragonFruit/CommandLine.cs

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
using System.Collections.Generic;
55
using System.CommandLine.Binding;
6-
using System.CommandLine.Builder;
76
using System.CommandLine.Invocation;
87
using System.CommandLine.NamingConventionBinder;
98
using System.CommandLine.Parsing;

src/System.CommandLine.Generator/CommandHandlerSourceGenerator.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace System.CommandLine.Generator
1111
[Generator]
1212
public class CommandHandlerSourceGenerator : ISourceGenerator
1313
{
14-
private const string ICommandHandlerType = "System.CommandLine.Invocation.ICommandHandler";
14+
private const string ICommandHandlerType = "System.CommandLine.ICommandHandler";
1515

1616
public void Execute(GeneratorExecutionContext context)
1717
{

src/System.CommandLine.Generator/WellKnownTypes.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ internal class WellKnownTypes
1919
public WellKnownTypes(Compilation compilation, IEqualityComparer<ISymbol?> comparer)
2020
{
2121
Console = GetType("System.CommandLine.IConsole");
22-
ParseResult = GetType("System.CommandLine.Parsing.ParseResult");
22+
ParseResult = GetType("System.CommandLine.ParseResult");
2323
InvocationContext = GetType("System.CommandLine.Invocation.InvocationContext");
2424
HelpBuilder = GetType("System.CommandLine.Help.HelpBuilder");
2525
BindingContext = GetType("System.CommandLine.Binding.BindingContext");

src/System.CommandLine.Hosting.Tests/HostingHandlerTest.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
using System.CommandLine.Binding;
2-
using System.CommandLine.Builder;
1+
using System.CommandLine;
2+
using System.CommandLine.Binding;
33
using System.CommandLine.Invocation;
44
using System.CommandLine.IO;
55
using System.CommandLine.Parsing;

src/System.CommandLine.Hosting.Tests/HostingTests.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System.CommandLine.Binding;
2-
using System.CommandLine.Builder;
32
using System.CommandLine.Invocation;
43
using System.CommandLine.Parsing;
54
using System.Linq;

src/System.CommandLine.Hosting/HostingExtensions.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System.CommandLine.Binding;
2-
using System.CommandLine.Builder;
32
using System.CommandLine.Invocation;
43
using System.CommandLine.NamingConventionBinder;
54
using System.Linq;

src/System.CommandLine.NamingConventionBinder.Tests/ModelBinderTests.cs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

44
using System.Collections.Generic;
5-
using System.CommandLine.Builder;
65
using System.CommandLine.Invocation;
76
using System.CommandLine.Parsing;
87
using System.CommandLine.Tests.Binding;

src/System.CommandLine.NamingConventionBinder.Tests/ParameterBindingTests.cs

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Copyright (c) .NET Foundation and contributors. All rights reserved.
22
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

4+
using System.CommandLine;
45
using System.CommandLine.Binding;
56
using System.CommandLine.Invocation;
67
using System.CommandLine.IO;

src/System.CommandLine.NamingConventionBinder/DelegateHandlerDescriptor.cs

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
using System.Collections.Generic;
55
using System.CommandLine.Binding;
6-
using System.CommandLine.Invocation;
76
using System.Linq;
87

98
namespace System.CommandLine.NamingConventionBinder;

src/System.CommandLine.NamingConventionBinder/HandlerDescriptor.cs

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
using System.Collections.Generic;
55
using System.CommandLine.Binding;
6-
using System.CommandLine.Invocation;
76
using System.Reflection;
87

98
namespace System.CommandLine.NamingConventionBinder;

src/System.CommandLine.NamingConventionBinder/MethodInfoHandlerDescriptor.cs

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
using System.Collections.Generic;
55
using System.CommandLine.Binding;
6-
using System.CommandLine.Invocation;
76
using System.Linq;
87
using System.Reflection;
98

src/System.CommandLine.Rendering.Tests/TerminalModeTests.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright (c) .NET Foundation and contributors. All rights reserved.
22
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

4-
using System.CommandLine.Builder;
54
using System.CommandLine.Invocation;
65
using System.CommandLine.IO;
76
using System.CommandLine.Parsing;

src/System.CommandLine.Rendering.Tests/ViewRenderingTests.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright (c) .NET Foundation and contributors. All rights reserved.
22
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

4-
using System.CommandLine.Builder;
54
using System.CommandLine.NamingConventionBinder;
65
using System.CommandLine.Parsing;
76
using System.CommandLine.Rendering.Views;

src/System.CommandLine.Rendering/CommandLineBuilderExtensions.cs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

44
using System.CommandLine.Binding;
5-
using System.CommandLine.Builder;
65
using System.Linq;
76

87
namespace System.CommandLine.Rendering

src/System.CommandLine.Suggest.Tests/EndToEndTestApp/Program.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using System;
21
using System.CommandLine;
3-
using System.CommandLine.Builder;
42
using System.CommandLine.Parsing;
53
using System.Threading.Tasks;
64

src/System.CommandLine.Suggest/SuggestionDispatcher.cs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

44
using System.Collections.Generic;
5-
using System.CommandLine.Builder;
65
using System.CommandLine.Invocation;
76
using System.CommandLine.IO;
87
using System.CommandLine.Parsing;

src/System.CommandLine.Tests/CommandExtensionsTests.cs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

44
using System.Collections.Generic;
5-
using System.CommandLine.Builder;
65
using System.CommandLine.Invocation;
76
using System.CommandLine.IO;
87
using System.CommandLine.Parsing;

src/System.CommandLine.Tests/CompletionTests.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright (c) .NET Foundation and contributors. All rights reserved.
22
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

4-
using System.CommandLine.Builder;
54
using System.CommandLine.Parsing;
65
using System.CommandLine.Tests.Utility;
76
using System.IO;

src/System.CommandLine.Tests/EnvironmentVariableDirectiveTests.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using FluentAssertions;
22

3-
using System.CommandLine.Builder;
43
using System.CommandLine.Invocation;
54
using System.CommandLine.Parsing;
65
using System.Linq;

src/System.CommandLine.Tests/Help/HelpBuilderTests.Customization.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright (c) .NET Foundation and contributors. All rights reserved.
22
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

4-
using System.CommandLine.Builder;
54
using System.CommandLine.Help;
65
using System.CommandLine.IO;
76
using System.CommandLine.Parsing;

src/System.CommandLine.Tests/Help/HelpBuilderTests.cs

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
using FluentAssertions;
55
using System.Collections.Generic;
6-
using System.CommandLine.Builder;
76
using System.CommandLine.Help;
87
using System.IO;
98
using System.Linq;

src/System.CommandLine.Tests/Invocation/CancelOnProcessTerminationTests.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright (c) .NET Foundation and contributors. All rights reserved.
22
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

4-
using System.CommandLine.Builder;
54
using System.CommandLine.Invocation;
65
using System.CommandLine.Parsing;
76
using System.CommandLine.Tests.Utility;

src/System.CommandLine.Tests/Invocation/InvocationPipelineTests.cs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

44
using System.CommandLine.Binding;
5-
using System.CommandLine.Builder;
65
using System.CommandLine.Help;
76
using System.CommandLine.Invocation;
87
using System.CommandLine.IO;

src/System.CommandLine.Tests/Invocation/TypoCorrectionTests.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using System.CommandLine.Builder;
21
using System.CommandLine.IO;
32
using System.CommandLine.Parsing;
43
using System.Threading.Tasks;

src/System.CommandLine.Tests/ParseDirectiveTests.cs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

44
using FluentAssertions;
5-
using System.CommandLine.Builder;
65
using System.CommandLine.IO;
76
using System.CommandLine.Parsing;
87
using System.Threading.Tasks;

src/System.CommandLine.Tests/ParserTests.DoubleDash.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright (c) .NET Foundation and contributors. All rights reserved.
22
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

4-
using System.CommandLine.Builder;
54
using System.CommandLine.Parsing;
65
using System.CommandLine.Tests.Utility;
76
using FluentAssertions;

src/System.CommandLine.Tests/ParserTests.cs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

44
using System.Collections.Generic;
5-
using System.CommandLine.Builder;
65
using System.CommandLine.Parsing;
76
using System.CommandLine.Tests.Utility;
87
using System.IO;

src/System.CommandLine.Tests/ResourceLocalizationTests.cs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

44
using System.Collections.Generic;
5-
using System.CommandLine.Builder;
65
using System.CommandLine.Parsing;
76
using FluentAssertions;
87
using System.Linq;

src/System.CommandLine.Tests/ResponseFileTests.cs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

44
using System.Collections.Generic;
5-
using System.CommandLine.Builder;
65
using System.CommandLine.Parsing;
76
using System.CommandLine.Tests.Utility;
87
using System.IO;

src/System.CommandLine.Tests/SuggestDirectiveTests.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright (c) .NET Foundation and contributors. All rights reserved.
22
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

4-
using System.CommandLine.Builder;
54
using System.CommandLine.IO;
65
using System.CommandLine.Parsing;
76
using System.Threading.Tasks;

src/System.CommandLine.Tests/TestApps/NativeAOT/Program.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using System;
22
using System.CommandLine;
3-
using System.CommandLine.Builder;
43
using System.CommandLine.Invocation;
54
using System.CommandLine.Parsing;
65

src/System.CommandLine.Tests/TokenReplacementTests.cs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

44
using System.Collections.Generic;
5-
using System.CommandLine.Builder;
65
using System.CommandLine.Parsing;
76
using FluentAssertions;
87
using Xunit;

src/System.CommandLine.Tests/UseExceptionHandlerTests.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright (c) .NET Foundation and contributors. All rights reserved.
22
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

4-
using System.CommandLine.Builder;
54
using System.CommandLine.IO;
65
using System.CommandLine.Parsing;
76
using System.Threading.Tasks;

src/System.CommandLine.Tests/UseHelpTests.cs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

44
using System.Collections.Generic;
5-
using System.CommandLine.Builder;
65
using System.CommandLine.Help;
76
using System.CommandLine.IO;
87
using System.CommandLine.Parsing;

src/System.CommandLine.Tests/UseParseErrorReportingTests.cs

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
// Copyright (c) .NET Foundation and contributors. All rights reserved.
55
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
66

7-
using System.CommandLine.Builder;
87
using System.CommandLine.Parsing;
98
using FluentAssertions;
109
using Xunit;

src/System.CommandLine.Tests/VersionOptionTests.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright (c) .NET Foundation and contributors. All rights reserved.
22
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

4-
using System.CommandLine.Builder;
54
using System.CommandLine.Invocation;
65
using System.CommandLine.IO;
76
using System.CommandLine.Parsing;

src/System.CommandLine/Builder/CommandLineBuilder.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
using System.CommandLine.Invocation;
88
using System.CommandLine.Parsing;
99

10-
namespace System.CommandLine.Builder
10+
namespace System.CommandLine
1111
{
1212
/// <summary>
1313
/// Enables composition of command line configurations.

src/System.CommandLine/Builder/CommandLineBuilderExtensions.cs

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Copyright (c) .NET Foundation and contributors. All rights reserved.
22
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

4+
using System.CommandLine;
45
using System.CommandLine.Binding;
56
using System.CommandLine.Help;
67
using System.CommandLine.Invocation;
@@ -14,7 +15,7 @@
1415
using static System.Environment;
1516
using Process = System.CommandLine.Invocation.Process;
1617

17-
namespace System.CommandLine.Builder
18+
namespace System.CommandLine
1819
{
1920
/// <summary>
2021
/// Provides extension methods for <see cref="CommandLineBuilder"/>.
@@ -685,7 +686,7 @@ public static CommandLineBuilder UseVersionOption(
685686
return builder;
686687
}
687688

688-
/// <inheritdoc cref="UseVersionOption(System.CommandLine.Builder.CommandLineBuilder)"/>
689+
/// <inheritdoc cref="UseVersionOption(System.CommandLine.CommandLineBuilder)"/>
689690
/// <param name="aliases">One or more aliases to use instead of the default to signal that version information should be displayed.</param>
690691
/// <param name="builder">A command line builder.</param>
691692
public static CommandLineBuilder UseVersionOption(

src/System.CommandLine/Command.cs

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
using System.Collections;
55
using System.Collections.Generic;
66
using System.CommandLine.Completions;
7-
using System.CommandLine.Invocation;
87
using System.CommandLine.Parsing;
98
using System.Linq;
109

src/System.CommandLine/Help/VersionOption.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright (c) .NET Foundation and contributors. All rights reserved.
22
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

4-
using System.CommandLine.Builder;
54
using System.CommandLine.Parsing;
65
using System.Linq;
76

0 commit comments

Comments
 (0)