Color returns an aurora.Aurora instance with colors enabled or disabled depending on whether the writer supports colors.
()
| 33 | // Color returns an aurora.Aurora instance with colors enabled or disabled |
| 34 | // depending on whether the writer supports colors. |
| 35 | func Color() aurora.Aurora { |
| 36 | return aurora.NewAurora(shouldUseColors()) |
| 37 | } |
| 38 | |
| 39 | // Initialize re-instantiates the Aurora instance |
| 40 | // This initialization step is necessary because the parsing of the |
no test coverage detected