We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd64c1c commit 5ade715Copy full SHA for 5ade715
1 file changed
count-plugin.sh
@@ -41,10 +41,11 @@ for s in "${sites[@]}"; do
41
if [[ $plugin_status -eq 0 ]]; then
42
# Status 0: Plugin is ACTIVE
43
((active_count++))
44
- echo "Site: $s | ACTIVE"
+ echo -e "Site: $s | \e[42;30m ACTIVE \e[0m"
45
+
46
elif [[ $plugin_status -eq 1 ]]; then
47
# Status 1: Plugin is INACTIVE or not installed
- echo "Site: $s | INACTIVE"
48
+ echo -e "Site: $s | \e[41;37m INACTIVE \e[0m"
49
else
50
# Any other status: WP-CLI command failed
51
echo "Site: $s | FAILED to get status (site may be archived or deleted)"
0 commit comments