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