26 instantiations of CommandSpec
Aspire.Cli.Tests (18)
Projects\GuestRuntimeTests.cs (18)
27
Execute = execute ?? new
CommandSpec
67
var spec = CreateTestSpec(execute: new
CommandSpec
88
execute: new
CommandSpec
{ Command = "run-cmd", Args = ["{appHostFile}"] },
89
watchExecute: new
CommandSpec
{ Command = "watch-cmd", Args = ["--watch", "{appHostFile}"] }
105
var spec = CreateTestSpec(execute: new
CommandSpec
{ Command = "run-cmd", Args = ["{appHostFile}"] });
120
execute: new
CommandSpec
{ Command = "run-cmd", Args = ["{appHostFile}"] },
121
publishExecute: new
CommandSpec
{ Command = "publish-cmd", Args = ["{appHostFile}", "{args}"] }
137
var spec = CreateTestSpec(execute: new
CommandSpec
{ Command = "run-cmd", Args = ["{appHostFile}"] });
151
var spec = CreateTestSpec(execute: new
CommandSpec
172
var spec = CreateTestSpec(execute: new
CommandSpec
192
var spec = CreateTestSpec(execute: new
CommandSpec
211
var spec = CreateTestSpec(execute: new
CommandSpec
229
var spec = CreateTestSpec(execute: new
CommandSpec
249
var spec = CreateTestSpec(execute: new
CommandSpec
273
Execute = new
CommandSpec
{ Command = "test-cmd", Args = ["{appHostFile}"] },
311
Execute = new
CommandSpec
{ Command = "npx", Args = ["tsx", "{appHostFile}"] },
312
InstallDependencies = new
CommandSpec
{ Command = "npm", Args = ["install"] }
339
Execute = new
CommandSpec
{ Command = "npx", Args = ["tsx", "{appHostFile}"] }
Aspire.Hosting.CodeGeneration.Go (1)
GoLanguageSupport.cs (1)
137
Execute = new
CommandSpec
Aspire.Hosting.CodeGeneration.Java (1)
JavaLanguageSupport.cs (1)
113
Execute = new
CommandSpec
Aspire.Hosting.CodeGeneration.Python (2)
PythonLanguageSupport.cs (2)
145
InstallDependencies = new
CommandSpec
150
Execute = new
CommandSpec
Aspire.Hosting.CodeGeneration.Rust (1)
RustLanguageSupport.cs (1)
134
Execute = new
CommandSpec
Aspire.Hosting.CodeGeneration.TypeScript (3)
TypeScriptLanguageSupport.cs (3)
187
InstallDependencies = new
CommandSpec
192
Execute = new
CommandSpec
197
WatchExecute = new
CommandSpec
12 references to CommandSpec
aspire (4)
Backchannel\BackchannelJsonSerializerContext.cs (1)
19
[JsonSerializable(typeof(
CommandSpec
))]
Projects\GuestRuntime.cs (3)
101
var
commandSpec = watchMode && _spec.WatchExecute is not null
126
var
commandSpec = _spec.PublishExecute ?? _spec.Execute;
132
CommandSpec
commandSpec,
Aspire.Cli.Tests (4)
Projects\GuestRuntimeTests.cs (4)
16
CommandSpec
? execute = null,
17
CommandSpec
? watchExecute = null,
18
CommandSpec
? publishExecute = null,
19
CommandSpec
? installDependencies = null)
Aspire.TypeSystem (4)
RuntimeSpec.cs (4)
34
public
CommandSpec
? InstallDependencies { get; init; }
39
public required
CommandSpec
Execute { get; init; }
44
public
CommandSpec
? WatchExecute { get; init; }
49
public
CommandSpec
? PublishExecute { get; init; }