poetapp / wordpress-plugin

Automatically post to the Po.et Network from WordPress
https://wordpress.org/plugins/po-et/
GNU General Public License v2.0
49 stars 33 forks source link

CLI for batch updates #27

Open markparolisi opened 6 years ago

markparolisi commented 6 years ago

This is a new feature request. I can also contribute this myself if you'd like.

A WP CLI utility should be provided to allow for batch CRUD. If users have tens of thousands of posts they want to push, the current wp-admin methods will not be sufficient.

example to delete all posts from the API wp poet delete $(wp post list --post_type=post --format=ids)

it should include the appropriate dry-run and logging features.

lautarodragan commented 6 years ago

A Timestamp-All feature right in the UI is planned already in #8, but if you'd still like to work on adding a cli version, I think that would be ok.

markparolisi commented 6 years ago

I suppose I'm not 100% on the desired audience here. If it is small individual bloggers, then the current setup will suffice. If you wish to have this used in large newsrooms where 15-30 writers are publishing 100-200 articles a day, then a CLI is necessary as well as some rework of the current wp-admin setup.

geoffturk commented 6 years ago

If you wish to have this used in large newsrooms where 15-30 writers are publishing 100-200 articles a day, then a CLI is necessary as well as some rework of the current wp-admin setup.

Closing since that user group is probably using a bespoke CMS, not WordPress.

markparolisi commented 6 years ago

I've run tech teams for the newsrooms of ABC, Bloomberg, CBS, TIME, Fortune, People, etc. They all run WordPress. There's no need to include this feature in the main application, but the need is there for it to exist.

geoffturk commented 6 years ago

@markparolisi Thanks a lot for your feedback. That's helpful to know. We'll keep it mind for the future and rekindle this GH issue when we want to explore it further. Thanks again.