MCPcopy
hub / github.com/cli/cli / explainer

Function explainer

pkg/cmd/repo/setdefault/setdefault.go:22–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20)
21
22func explainer() string {
23 return heredoc.Doc(`
24 This command sets the default remote repository to use when querying the
25 GitHub API for the locally cloned repository.
26
27 gh uses the default repository for things like:
28
29 - viewing and creating pull requests
30 - viewing and creating issues
31 - viewing and creating releases
32 - working with GitHub Actions
33
34 ### NOTE: gh does not use the default repository for managing repository and environment secrets.`)
35}
36
37type iprompter interface {
38 Select(string, string, []string) (int, error)

Callers 2

NewCmdSetDefaultFunction · 0.85
setDefaultRunFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected