We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20d7700 commit b62db8cCopy full SHA for b62db8c
src/System.CommandLine/Builder/CommandLineBuilder.cs
@@ -17,10 +17,6 @@ public class CommandLineBuilder : CommandBuilder
17
public CommandLineBuilder(Command rootCommand = null)
18
: base(rootCommand ?? new RootCommand())
19
{
20
- if (rootCommand?.ImplicitParser != null)
21
- {
22
- throw new ArgumentException($"Command \"{rootCommand.Name}\" has already been configured.");
23
- }
24
}
25
26
public bool EnableDirectives { get; set; } = true;
src/System.CommandLine/Command.cs
@@ -3,7 +3,6 @@
3
4
using System.Collections;
5
using System.Collections.Generic;
6
-using System.CommandLine.Builder;
7
using System.CommandLine.Collections;
8
using System.CommandLine.Invocation;
9
using System.CommandLine.Parsing;
0 commit comments