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