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

Method Get

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

Get retrieves the expansion for a specified alias.

(alias string)

Source from the content-addressed store, hash-verified

218type AliasConfig interface {
219 // Get retrieves the expansion for a specified alias.
220 Get(alias string) (expansion string, err error)
221
222 // Add adds a new alias with the specified expansion.
223 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