MCPcopy Index your code
hub / github.com/nikivdev/go / showHelpDirect

Function showHelpDirect

cli/github/main.go:54–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52}
53
54func showHelpDirect() {
55 fmt.Printf("%s - GitHub CLI for PR operations\n\n", commandName)
56 fmt.Println("Usage:")
57 fmt.Printf(" %s <pr-url> Get full diff of a PR\n", commandName)
58 fmt.Printf(" %s <pr-url> --no-comments Get diff without comments/reviews\n", commandName)
59 fmt.Printf(" %s diff <pr-url> Get full diff of a PR\n", commandName)
60 fmt.Printf(" %s deploy Build and install to ~/bin\n", commandName)
61 fmt.Printf(" %s version Show version\n", commandName)
62 fmt.Println()
63 fmt.Println("PR reference formats:")
64 fmt.Println(" https://github.com/owner/repo/pull/123")
65 fmt.Println(" owner/repo#123")
66}
67
68func runDiffDirect(ref string, extraArgs []string) error {
69 ref = strings.TrimSpace(ref)

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected