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