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