MCPcopy Create free account
hub / github.com/auth0/auth0-cli / loadQuickstartSampleReadme

Function loadQuickstartSampleReadme

internal/cli/quickstarts.go:245–252  ·  view source on GitHub ↗
(samplePath string)

Source from the content-addressed store, hash-verified

243}
244
245func loadQuickstartSampleReadme(samplePath string) (string, error) {
246 data, err := os.ReadFile(path.Join(samplePath, "README.md"))
247 if err != nil {
248 return "", unexpectedError(err)
249 }
250
251 return string(data), nil
252}
253
254func relativeQuickstartSamplePath(samplePath string) (string, error) {
255 dir, err := os.Getwd()

Callers 1

downloadQuickstartFunction · 0.85

Calls 1

unexpectedErrorFunction · 0.85

Tested by

no test coverage detected