26 writes to Command
Aspire.Cli.Tests (18)
Projects\GuestRuntimeTests.cs (18)
29Command = "test-cmd", 69Command = "my-runner", 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}"] }); 153Command = "test-cmd", 174Command = "test-cmd", 194Command = "npx", 213Command = "test-cmd", 231Command = "test-cmd", 251Command = "test-cmd", 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)
139Command = "go",
Aspire.Hosting.CodeGeneration.Java (1)
JavaLanguageSupport.cs (1)
117Command = OperatingSystem.IsWindows() ? "cmd" : "sh",
Aspire.Hosting.CodeGeneration.Python (2)
PythonLanguageSupport.cs (2)
147Command = GetPythonCommand(), 152Command = "uv",
Aspire.Hosting.CodeGeneration.Rust (1)
RustLanguageSupport.cs (1)
136Command = "cargo",
Aspire.Hosting.CodeGeneration.TypeScript (3)
TypeScriptLanguageSupport.cs (3)
189Command = "npm", 194Command = "npx", 199Command = "npx",
4 references to Command
aspire (4)
Projects\GuestAppHostProject.cs (1)
1286runtimeSpec.Execute.Command,
Projects\GuestRuntime.cs (3)
74_spec.InstallDependencies.Command, 151_logger.LogDebug("Launching: {Command} {Args}", commandSpec.Command, string.Join(" ", args)); 152return await launcher.LaunchAsync(commandSpec.Command, args, directory, mergedEnvironment, cancellationToken);