We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03d846f commit d67431cCopy full SHA for d67431c
src/Utils/Show.php
@@ -180,6 +180,16 @@ public static function __callStatic($method, array $args = [])
180
throw new \LogicException("Call a not exists method: $method");
181
}
182
183
+ /**
184
+ * @param string $text
185
+ * @param string $style
186
+ * @param bool $nl
187
+ */
188
+ public static function color(string $text, string $style = 'info', $nl = true)
189
+ {
190
+ self::write(Helper::wrapTag($text, $style), $nl);
191
+ }
192
+
193
/**************************************************************************************************
194
* Output Format Message(section/list/helpPanel/panel/table)
195
**************************************************************************************************/
0 commit comments