Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/algolia/cli
/ NewDefaultConfigStub
Function
NewDefaultConfigStub
test/config.go:122–131 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
120
}
121
122
func
NewDefaultConfigStub() *ConfigStub {
123
return
NewConfigStubWithProfiles([]*config.Profile{
124
{
125
Name:
"default"
,
126
ApplicationID:
"default"
,
127
AdminAPIKey:
"default"
,
128
Default: true,
129
},
130
})
131
}
Callers
8
TestRunOpenCmd_ResourceShortcutNoAuth
Function · 0.92
TestRunOpenCmd_Unsupported
Function · 0.92
TestRunOpenCmd_ListIncludesBothKinds
Function · 0.92
TestRunOpenCmd_UnsupportedWithJSONOutput
Function · 0.92
TestRunOpenCmd_InvalidOutputFormat
Function · 0.92
TestNewLoginCmd_FlagParsing
Function · 0.92
TestNewRemoveCmd
Function · 0.92
TestNewAddCmd
Function · 0.92
Calls
1
NewConfigStubWithProfiles
Function · 0.85
Tested by
8
TestRunOpenCmd_ResourceShortcutNoAuth
Function · 0.74
TestRunOpenCmd_Unsupported
Function · 0.74
TestRunOpenCmd_ListIncludesBothKinds
Function · 0.74
TestRunOpenCmd_UnsupportedWithJSONOutput
Function · 0.74
TestRunOpenCmd_InvalidOutputFormat
Function · 0.74
TestNewLoginCmd_FlagParsing
Function · 0.74
TestNewRemoveCmd
Function · 0.74
TestNewAddCmd
Function · 0.74