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

Method Delete

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

Source from the content-addressed store, hash-verified

760}
761
762func (a *AliasConfig) Delete(alias string) error {
763 return a.cfg.Remove([]string{aliasesKey, alias})
764}
765
766func (a *AliasConfig) All() map[string]string {
767 out := map[string]string{}

Callers

nothing calls this directly

Calls 1

RemoveMethod · 0.65

Tested by

no test coverage detected