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

Method FormatID

cli/cliui/output.go:88–90  ·  view source on GitHub ↗

FormatID will return the ID of the format selected by `--output`. If no flag is present, it returns the 'default' formatter.

()

Source from the content-addressed store, hash-verified

86// FormatID will return the ID of the format selected by `--output`.
87// If no flag is present, it returns the 'default' formatter.
88func (f *OutputFormatter) FormatID() string {
89 return f.formatID
90}
91
92type tableFormat struct {
93 defaultColumns []string

Callers 3

templatePresetsListMethod · 0.95
syncStatusMethod · 0.95
taskStatusMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected