Added condition to list broken themes on wp theme list
Fix for #152
Enabled option to show broken themes
Thanks for the PR, @achyuthajoy. Two things are needed still for this:
- Please add a behat test that confirms that a broken theme is indeed shown.
- Let's discuss how to visually denote a broken theme. Should it just be part of the normal list, or should be display it in a special way to let the user know it is broken?
Sure @schlessera, I'll add the test and look for possible solutions to display the broken themes
@schlessera I've added the tests. For point (2), I think we can add a message after the table informing users of broken themes?
Proceeding with https://github.com/wp-cli/wp-cli/issues/5594 for this repository. I've captured this PR to https://gist.github.com/danielbachhuber/c90d59dc7e64952cc636d305d313597e in case this PR is auto-closed or broken in some way.