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

Function configShowBundle

internal/cli/config.go:1127–1137  ·  view source on GitHub ↗
(record configShowRecord, entries []configEntry)

Source from the content-addressed store, hash-verified

1125}
1126
1127func configShowBundle(record configShowRecord, entries []configEntry) outputBundle {
1128 return outputBundle{
1129 jsonValue: record,
1130 human: func() (string, error) {
1131 return renderConfigEntries("Config", entries), nil
1132 },
1133 toon: func() (string, error) {
1134 return renderConfigEntriesToon(configConfigKey, entries), nil
1135 },
1136 }
1137}
1138
1139func configListBundle(record configListRecord) outputBundle {
1140 return outputBundle{

Callers 2

newConfigShowCommandFunction · 0.85

Calls 2

renderConfigEntriesFunction · 0.85
renderConfigEntriesToonFunction · 0.85

Tested by 1