31 references to AgentInitCommand
aspire (25)
Commands\AgentCommand.cs (1)
18AgentInitCommand initCommand,
Commands\InitCommand.cs (8)
43private readonly AgentInitCommand _agentInitCommand; 72AgentInitCommand agentInitCommand, 114Options.Add(AgentInitCommand.s_agentsOption); 115Options.Add(AgentInitCommand.s_scopeOption); 116Options.Add(AgentInitCommand.s_skillsOption); 185PromptBinding.Create(parseResult, AgentInitCommand.s_agentsOption), 186PromptBinding.Create(parseResult, AgentInitCommand.s_skillsOption), 187PromptBinding.Create(parseResult, AgentInitCommand.s_scopeOption, AgentConfigurationScope.Project),
Commands\McpInitCommand.cs (7)
15private readonly AgentInitCommand _agentInitCommand; 18AgentInitCommand agentInitCommand, 24Options.Add(AgentInitCommand.s_workspaceRootOption); 25Options.Add(AgentInitCommand.s_mcpOption); 26Options.Add(AgentInitCommand.s_agentsOption); 27Options.Add(AgentInitCommand.s_scopeOption); 28Options.Add(AgentInitCommand.s_skillsOption);
Commands\NewCommand.cs (8)
36private readonly AgentInitCommand _agentInitCommand; 74AgentInitCommand agentInitCommand, 92Options.Add(AgentInitCommand.s_agentsOption); 93Options.Add(AgentInitCommand.s_scopeOption); 94Options.Add(AgentInitCommand.s_skillsOption); 615PromptBinding.Create(parseResult, AgentInitCommand.s_agentsOption), 616PromptBinding.Create(parseResult, AgentInitCommand.s_skillsOption), 617PromptBinding.Create(parseResult, AgentInitCommand.s_scopeOption, AgentConfigurationScope.Project),
Program.cs (1)
726builder.Services.AddTransient<AgentInitCommand>();
Aspire.Cli.Tests (6)
Commands\AgentInitCommandTests.cs (5)
275Assert.Equal(expected, AgentInitCommand.SimplifyDescription(input)); 728var command = provider.GetRequiredService<AgentInitCommand>(); 761var command = provider.GetRequiredService<AgentInitCommand>();
Utils\CliTestHelper.cs (1)
325services.AddTransient<AgentInitCommand>();