MCPcopy Create free account
hub / github.com/github/gh-aw / getGitHubCustomArgs

Function getGitHubCustomArgs

pkg/workflow/args.go:39–44  ·  view source on GitHub ↗

getGitHubCustomArgs extracts custom args from GitHub tool configuration

(githubTool any)

Source from the content-addressed store, hash-verified

37
38// getGitHubCustomArgs extracts custom args from GitHub tool configuration
39func getGitHubCustomArgs(githubTool any) []string {
40 if toolConfig, ok := githubTool.(map[string]any); ok {
41 return extractCustomArgs(toolConfig)
42 }
43 return nil
44}
45
46// getPlaywrightCustomArgs extracts custom args from Playwright tool configuration
47func getPlaywrightCustomArgs(playwrightConfig *PlaywrightToolConfig) []string {

Callers 3

TestArgsFieldFunction · 0.85
RenderGitHubMCPMethod · 0.85
renderGitHubTOMLMethod · 0.85

Calls 1

extractCustomArgsFunction · 0.85

Tested by 1

TestArgsFieldFunction · 0.68