39 references to QuoteBashArg
Aspire.Cli.EndToEnd.Tests (39)
AppHostSyntaxErrorOutputTests.cs (1)
141
var quotedWorkingDirectory = AspireCliShellCommandHelpers.
QuoteBashArg
(workingDirectory);
BundleSmokeTests.cs (4)
89
var quotedAppHostProjectPath = AspireCliShellCommandHelpers.
QuoteBashArg
(appHostProjectRelativePath);
161
await auto.RunCommandAsync($"cd {AspireCliShellCommandHelpers.
QuoteBashArg
(ProjectName)}", counter);
186
$"dotnet run --no-launch-profile --project {AspireCliShellCommandHelpers.
QuoteBashArg
(appHostProjectRelativePath)} -- --from-real-dnx");
245
await auto.RunCommandAsync($"cd {AspireCliShellCommandHelpers.
QuoteBashArg
(projectName)}", counter);
Helpers\CliE2EAutomatorHelpers.cs (15)
89
await auto.RunCommandAsync($"cd {AspireCliShellCommandHelpers.
QuoteBashArg
(containerWorkspace)}", counter);
91
await auto.RunCommandAsync($"export ASPIRE_E2E_WORKSPACE={AspireCliShellCommandHelpers.
QuoteBashArg
(containerWorkspace)}", counter);
260
: $" --channel {AspireCliShellCommandHelpers.
QuoteBashArg
(channel)}";
264
$"aspire new {AspireCliShellCommandHelpers.
QuoteBashArg
(templateName)} " +
265
$"--name {AspireCliShellCommandHelpers.
QuoteBashArg
(projectName)} " +
266
$"--output {AspireCliShellCommandHelpers.
QuoteBashArg
(output)}" +
433
var localDirPrScript = AspireCliShellCommandHelpers.
QuoteBashArg
(Path.Combine(CliE2ETestHelpers.GetRepoRoot(), "eng", "scripts", "get-aspire-cli-pr.sh"));
442
var getAspireCliScript = AspireCliShellCommandHelpers.
QuoteBashArg
(Path.Combine(CliE2ETestHelpers.GetRepoRoot(), "eng", "scripts", "get-aspire-cli.sh"));
539
$"printf '%s\\n' {AspireCliShellCommandHelpers.
QuoteBashArg
($"test={testName}")}; " +
540
$"printf '%s\\n' {AspireCliShellCommandHelpers.
QuoteBashArg
($"mode={strategy.Mode}")}; " +
541
$"printf '%s\\n' {AspireCliShellCommandHelpers.
QuoteBashArg
($"strategy={strategy}")}; " +
542
$"printf '%s\\n' {AspireCliShellCommandHelpers.
QuoteBashArg
($"expected={requestedVersion}")}; " +
572
await auto.RunCommandAsync($"export ASPIRE_E2E_WORKSPACE={AspireCliShellCommandHelpers.
QuoteBashArg
(workspace.WorkspaceRoot.FullName)}", counter);
772
var apphostFlag = apphost is not null ? $" --apphost {AspireCliShellCommandHelpers.
QuoteBashArg
(apphost)}" : "";
947
var apphostFlag = apphost is not null ? $" --apphost {AspireCliShellCommandHelpers.
QuoteBashArg
(apphost)}" : "";
StartStopTests.cs (11)
130
await auto.RunCommandAsync($"cd {AspireCliShellCommandHelpers.
QuoteBashArg
(projectName)}", counter);
146
$"git worktree add {AspireCliShellCommandHelpers.
QuoteBashArg
(linkedWorktreeRelativePath)} -b linked-worktree",
148
await auto.RunCommandAsync($"cd {AspireCliShellCommandHelpers.
QuoteBashArg
(linkedCheckout)}", counter);
152
$"aspire ps --format json > {AspireCliShellCommandHelpers.
QuoteBashArg
(bothInstancesContainerPath)}",
169
await auto.RunCommandAsync($"cd {AspireCliShellCommandHelpers.
QuoteBashArg
(primaryCheckout)}", counter);
172
$"aspire ps --format json > {AspireCliShellCommandHelpers.
QuoteBashArg
(remainingInstanceContainerPath)}",
181
await auto.RunCommandAsync($"cd {AspireCliShellCommandHelpers.
QuoteBashArg
(linkedCheckout)}", counter);
184
$"aspire ps --format json > {AspireCliShellCommandHelpers.
QuoteBashArg
(stoppedInstancesContainerPath)}",
243
await auto.RunCommandAsync($"cd {AspireCliShellCommandHelpers.
QuoteBashArg
(projectName)}", counter);
288
await auto.TypeAsync($"python3 {AspireCliShellCommandHelpers.
QuoteBashArg
(containerAssertionScript)}");
467
var quotedProjectName = AspireCliShellCommandHelpers.
QuoteBashArg
(projectName);
tests\Shared\CliInstallStrategy.cs (7)
87
return $"mkdir -p ~/.aspire && tar -xzf {
QuoteBashArg
(archivePath)} -C ~/.aspire 2>/dev/null";
131
return $"{commandPrefix} --local-dir {
QuoteBashArg
(localDir)}";
143
return $"curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/{sha}/eng/scripts/get-aspire-cli-pr.sh | bash -s -- --local-dir {
QuoteBashArg
(localDir)}";
167
$"PKG={
QuoteBashArg
(packageId)}; " +
168
$"TARGET={
QuoteBashArg
(projectPath)}; " +
193
args += $" --add-source {
QuoteBashArg
(nupkgSourcePath)}";
198
args += $" --configfile {
QuoteBashArg
(nuGetConfigPath)}";
tests\Shared\Hex1bAutomatorTestHelpers.cs (1)
303
await auto.RunCommandAsync($"cd {AspireCliShellCommandHelpers.
QuoteBashArg
(workspacePath)}", counter);