MCPcopy Index your code
hub / github.com/coder/coder / Format

Method Format

cli/cliui/output.go:19–19  ·  view source on GitHub ↗
(ctx context.Context, data any)

Source from the content-addressed store, hash-verified

17 ID() string
18 AttachOptions(opts *serpent.OptionSet)
19 Format(ctx context.Context, data any) (string, error)
20}
21
22type OutputFormatter struct {

Callers 15

TestRegenerateChatTitleFunction · 0.65
formatHealthcheckFunction · 0.65
putExtendWorkspaceMethod · 0.65
returnDAUsInternalMethod · 0.65
TestTemplateMetricsFunction · 0.65
dispatchMethod · 0.65

Implementers 6

userShowFormatcli/userlist.go
tableFormatcli/cliui/output.go
jsonFormatcli/cliui/output.go
textFormatcli/cliui/output.go
DataChangeFormatcli/cliui/output.go
formatcli/cliui/output_test.go

Calls

no outgoing calls

Tested by 15

TestRegenerateChatTitleFunction · 0.52
TestTemplateMetricsFunction · 0.52
TestTelemetryFunction · 0.52
TestTelemetryItemFunction · 0.52
TestGetUserStatusCountsFunction · 0.52
MatchesMethod · 0.52