MCPcopy
hub / github.com/cli/cli / Get

Method Get

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

Get retrieves the expansion for a specified alias.

(alias string)

Source from the content-addressed store, hash-verified

174type AliasConfig interface {
175 // Get retrieves the expansion for a specified alias.
176 Get(alias string) (expansion string, err error)
177
178 // Add adds a new alias with the specified expansion.
179 Add(alias, expansion string)

Callers 15

GetFunction · 0.65
makeConnectionFunction · 0.65
ListCodespacesMethod · 0.65
GetOrgMemberCodespaceMethod · 0.65
ListDevContainersMethod · 0.65
requireKeyWithValueFunction · 0.65
requireNoKeyFunction · 0.65

Implementers 1

AliasConfiginternal/config/config.go

Calls

no outgoing calls