6 references to HookCommandFormatter
aspire (2)
Agents\Hooks\TelemetryHookConfigurator.cs (2)
136["bash"] = HookCommandFormatter.BuildBashCommand(scripts.ShellScriptPath), 137["powershell"] = HookCommandFormatter.BuildPwshCommand(scripts.PowerShellScriptPath),
Aspire.Cli.Tests (4)
Agents\HookCommandFormatterTests.cs (4)
17Assert.Equal(expected, HookCommandFormatter.QuoteForBash(input)); 27Assert.Equal(expected, HookCommandFormatter.QuoteForPowerShell(input)); 33Assert.Equal("bash '/x/y.sh'", HookCommandFormatter.BuildBashCommand("/x/y.sh")); 41HookCommandFormatter.BuildPwshCommand(@"C:\x\y.ps1"));