Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MikeDaniel18/oh-heck-cli
/ functions
Functions
26 in github.com/MikeDaniel18/oh-heck-cli
⨍
Functions
26
◇
Types & classes
5
↓ 8 callers
Function
ReadConfig
()
configs/config.go:26
↓ 5 callers
Function
YesNoInput
(question string)
components/prompts.go:11
↓ 3 callers
Function
ShowApiOptions
()
cmd/apikey.go:53
↓ 2 callers
Function
GetApiURL
()
configs/env.go:7
↓ 2 callers
Method
Save
()
configs/config.go:38
↓ 2 callers
Function
StringInput
(text string, initial string)
components/prompts.go:24
↓ 2 callers
Function
askQuestion
(args []string, placeholder *string)
cmd/root.go:74
↓ 2 callers
Function
collectUserApiKey
()
cmd/apikey.go:44
↓ 2 callers
Function
configPath
()
configs/config.go:15
↓ 2 callers
Function
saveApiKey
(key string)
cmd/apikey.go:132
↓ 2 callers
Function
statusCode
(body []byte)
models/userapi.go:122
↓ 2 callers
Function
surveyExitError
(err error)
components/prompts.go:50
↓ 1 callers
Function
AskBashQuestionApi
(question string)
models/userapi.go:16
↓ 1 callers
Function
Execute
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the r
cmd/root.go:53
↓ 1 callers
Function
GetWebsiteURL
()
configs/env.go:3
↓ 1 callers
Function
InvalidApiKey
()
cmd/apikey.go:69
↓ 1 callers
Function
SaveConfig
(c Config)
configs/config.go:21
↓ 1 callers
Function
SetQuestionResponse
(completion Completion, accepted bool)
models/userapi.go:74
↓ 1 callers
Function
configureApiKeys
(cmd *cobra.Command, args []string)
cmd/apikey.go:80
↓ 1 callers
Function
copyToClipboard
(text string)
cmd/root.go:140
↓ 1 callers
Function
getSavedApiKey
()
cmd/apikey.go:139
↓ 1 callers
Function
makeBashQuestionCall
(question string)
cmd/root.go:111
↓ 1 callers
Function
openBrowser
(url string)
cmd/apikey.go:111
Function
init
()
cmd/root.go:60
Function
init
()
cmd/apikey.go:30
Function
main
()
main.go:11