MCPcopy
hub / github.com/cli/cli / Add

Method Add

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

Add adds a new alias with the specified expansion.

(alias, expansion string)

Source from the content-addressed store, hash-verified

177
178 // Add adds a new alias with the specified expansion.
179 Add(alias, expansion string)
180
181 // Delete removes an alias.
182 Delete(alias string) error

Callers 12

TestGetOrCreateDeviceIDFunction · 0.65
GetCodespaceMethod · 0.65
GetCodespacesMachinesMethod · 0.65
InstallFunction · 0.65
TestInstallFunction · 0.65
waitForEchoDisabledFunction · 0.65
DeferredUpdateIssueFunction · 0.65

Implementers 1

AliasConfiginternal/config/config.go

Calls

no outgoing calls

Tested by 4

TestGetOrCreateDeviceIDFunction · 0.52
TestInstallFunction · 0.52
waitForEchoDisabledFunction · 0.52