MCPcopy Create free account
hub / github.com/compozy/agh / bundleJobsTable

Function bundleJobsTable

internal/cli/bundle.go:564–578  ·  view source on GitHub ↗
(items []BundleJobRecord)

Source from the content-addressed store, hash-verified

562}
563
564func bundleJobsTable(items []BundleJobRecord) string {
565 rows := make([][]string, 0, len(items))
566 for _, item := range items {
567 rows = append(rows, []string{
568 stringOrDash(item.Name),
569 stringOrDash(item.AgentName),
570 formatBool(item.Enabled),
571 })
572 }
573 return renderHumanTable(
574 "Jobs",
575 []string{bundleNameValue, bundleAgentValue, extensionEnabledValue},
576 rows,
577 )
578}
579
580func bundleTriggersTable(items []BundleTriggerRecord) string {
581 rows := make([][]string, 0, len(items))

Callers 1

bundleActivationBundleFunction · 0.85

Calls 4

appendFunction · 0.85
stringOrDashFunction · 0.85
formatBoolFunction · 0.85
renderHumanTableFunction · 0.85

Tested by

no test coverage detected