{"id":18909347,"date":"2026-05-15T17:51:21","date_gmt":"2026-05-15T17:51:21","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/wp-cli-command-3\/"},"modified":"2026-05-15T17:51:21","modified_gmt":"2026-05-15T17:51:21","slug":"wp-cli-command-3","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/wp-cli-command-3\/","title":{"rendered":"WP CLI command?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Any chance this could come with some wp-cli commands? We have a ton of sites with a lot of images. Would be great to be able to install it, set our api key, and bulk-generate alt-text for images on each site. Something like:<br \/><code><br \/>wp plugin install ai-alt-text-generator<br \/>wp plugin activate ai-alt-text-generator<br \/>wp ai-alt-text activate --provider=openai --key={api-key}<br \/>wp ai-alt-text generate --limit={number-of-images}<br \/><\/code><\/p>\n","protected":false},"template":"","class_list":["post-18909347","topic","type-topic","status-publish","hentry","topic-tag-wp-cli"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18909347","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18909347\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18909347"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}