File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 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
7878var subCommands = rootCommand . Children . OfType < Command > ( ) . Select ( c => c . Name ) . ToArray ( ) ;
Original file line number Diff line number Diff 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 [ ] ) [
You can’t perform that action at this time.
0 commit comments