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

Method Delete

internal/config/config.go:811–813  ·  view source on GitHub ↗
(alias string)

Source from the content-addressed store, hash-verified

809}
810
811func (a *AliasConfig) Delete(alias string) error {
812 return a.cfg.Remove([]string{aliasesKey, alias})
813}
814
815func (a *AliasConfig) All() map[string]string {
816 out := map[string]string{}

Callers

nothing calls this directly

Calls 1

RemoveMethod · 0.65

Tested by

no test coverage detected