INNER CODE UNIT · Go
careerOpsPath
career-ops-hq/career-ops · dashboard/main.go:374
careerOpsPath := *pathFlag
// Load applications
apps := data.ParseApplications(careerOpsPath)
if apps == nil {
fmt.Fprintf(os.Stderr, "Error: could not find applications.md in %s or %s/data/\n", careerOpsPath, careerOpsPath)
os.Exit(1)
}
// Compute metrics
metrics := data.ComputeMetrics(apps)
progressMetrics := data.ComputeProgressMetrics(apps)
// Batch-load all report summaries
t := theme.NewTheme("auto")
pm := screens.NewPipelineModel(t, apps, metrics, careerOpsPath, 120, 40)
enrichArchetypes(careerOpsPath, apps, &pm)