public static string Usage(string text, int width = -1) { using (var ab = new AlertBuilder(AlertType.Usage, null, width)) { ab.AppendRow(text); return(ab.ToString()); } }
public static string Error(string title, string text, int width = -1) { using (var ab = new AlertBuilder(AlertType.Error, title, width)) { ab.AppendRow(text); return(ab.ToString()); } }
public static string Title(string header, string title, int width = -1) { using (var ab = new AlertBuilder(AlertType.Title, header, width)) { ab.AppendRow(title); return(ab.ToString()); } }