cli: Initial _real_ Cli Work
Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
@@ -107,7 +107,7 @@ public struct ErrorWithLabel: Errorable {
|
||||
public func format(_ formatter: any Formattable) -> String {
|
||||
let green = Style(StyleColor.Green)
|
||||
let formatted_label = formatter.formatWithStyle(self.label, green)
|
||||
return formatted_label + self.error.format(formatter)
|
||||
return formatted_label + ": " + self.error.format(formatter)
|
||||
}
|
||||
|
||||
public init(_ label: String, _ error: any Errorable) {
|
||||
|
||||
Reference in New Issue
Block a user