MCPcopy Create free account
hub / github.com/cli/cli / Get

Method Get

internal/gh/gh.go:222–222  ·  view source on GitHub ↗

Get retrieves the expansion for a specified alias.

(alias string)

Source from the content-addressed store, hash-verified

220type AliasConfig interface {
221 // Get retrieves the expansion for a specified alias.
222 Get(alias string) (expansion string, err error)
223
224 // Add adds a new alias with the specified expansion.
225 Add(alias, expansion string)

Callers 15

recordingHandlerFunction · 0.65
TestUploadFunction · 0.65
TestUploadAuthenticationFunction · 0.65
newUploadErrorFunction · 0.65
GetFunction · 0.65
makeConnectionFunction · 0.65
ListCodespacesMethod · 0.65
GetOrgMemberCodespaceMethod · 0.65

Implementers 1

AliasConfiginternal/config/config.go

Calls

no outgoing calls