MCPcopy Create free account
hub / github.com/algolia/cli / NewConfigStubWithProfiles

Function NewConfigStubWithProfiles

test/config.go:115–120  ·  view source on GitHub ↗
(p []*config.Profile)

Source from the content-addressed store, hash-verified

113}
114
115func NewConfigStubWithProfiles(p []*config.Profile) *ConfigStub {
116 return &ConfigStub{
117 CurrentProfile: *p[0],
118 profiles: p,
119 }
120}
121
122func NewDefaultConfigStub() *ConfigStub {
123 return NewConfigStubWithProfiles([]*config.Profile{

Calls

no outgoing calls