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

Method Add

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

Add adds a new alias with the specified expansion.

(alias, expansion string)

Source from the content-addressed store, hash-verified

221
222 // Add adds a new alias with the specified expansion.
223 Add(alias, expansion string)
224
225 // Delete removes an alias.
226 Delete(alias string) error

Callers 13

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

Implementers 1

AliasConfiginternal/config/config.go

Calls

no outgoing calls

Tested by 4

TestGetOrCreateDeviceIDFunction · 0.52
TestInstallFunction · 0.52
waitForEchoDisabledFunction · 0.52