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

Method List

pkg/cmd/extension/manager.go:141–148  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

139}
140
141func (m *Manager) List() []extensions.Extension {
142 exts, _ := m.list(false)
143 r := make([]extensions.Extension, len(exts))
144 for i, ext := range exts {
145 r[i] = ext
146 }
147 return r
148}
149
150func (m *Manager) list(includeMetadata bool) ([]*Extension, error) {
151 dir := m.installDir()

Callers

nothing calls this directly

Calls 1

listMethod · 0.95

Tested by

no test coverage detected