Skip to content

Commit 098e6f7

Browse files
committed
Renames GetRootCommand to CreateRootCommand
1 parent 4384db4 commit 098e6f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dev-proxy/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
.ToArray();
7373

7474
// this is where the root command is created which contains all commands and subcommands
75-
RootCommand rootCommand = proxyHost.GetRootCommand(logger, pluginOptions, pluginCommands);
75+
RootCommand rootCommand = proxyHost.CreateRootCommand(logger, pluginOptions, pluginCommands);
7676

7777
// get the list of available subcommand's names
7878
var subCommands = rootCommand.Children.OfType<Command>().Select(c => c.Name).ToArray();

dev-proxy/ProxyHost.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ public ProxyHost()
333333
ProxyCommandHandler.Configuration.ConfigFile = ConfigFile;
334334
}
335335

336-
public RootCommand GetRootCommand(ILogger logger, Option[] pluginOptions, Command[] pluginCommands)
336+
public RootCommand CreateRootCommand(ILogger logger, Option[] pluginOptions, Command[] pluginCommands)
337337
{
338338
var command = new RootCommand("Dev Proxy is a command line tool for testing Microsoft Graph, SharePoint Online and any other HTTP APIs.");
339339
var options = (Option[])[

0 commit comments

Comments
 (0)