You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Termwind would be great, and could probably be used with WP-CLI, if it wasn't locked to PHP 8.
So the alternative is to have the output of the WP-CLI a bit more customizable. Increasing line height, making some other modifications to the output, etc.
Some styling is possible now, but that's not much.
Describe the solution you'd like
Currently, for instance, the WP_CLI::success method only has one parameter $message. Other commands such as error, line or log could have a second optional parameter $style where these parameters could be added as an array of items:
Feature Request
Describe your use case and the problem you are facing
A lot of modern tooling (especially in Laravel space) have really pretty looking CLI outputs (mostly thanks to https://github.com/nunomaduro/termwind).
Using Termwind would be great, and could probably be used with WP-CLI, if it wasn't locked to PHP 8.
So the alternative is to have the output of the WP-CLI a bit more customizable. Increasing line height, making some other modifications to the output, etc.
Some styling is possible now, but that's not much.
Describe the solution you'd like
Currently, for instance, the
WP_CLI::success
method only has one parameter$message
. Other commands such aserror
,line
orlog
could have a second optional parameter$style
where these parameters could be added as an array of items:The text was updated successfully, but these errors were encountered: