ideas icon indicating copy to clipboard operation
ideas copied to clipboard

Commit plugin into WordPress repository

Open Horttcore opened this issue 8 years ago • 4 comments

Many plugins use github as the development platform and just copy+paste the plugin into the WordPress SVN repository.

It would help if there are a few commands to help automate this process.

wp repository plugin add {plugin} wp repository plugin update {plugin} {version} wp repository plugin delete {plugin}

wp repository theme add {plugin} wp repository theme update {plugin} {version} wp repository theme delete {plugin}

Horttcore avatar Jan 19 '17 11:01 Horttcore

This seems out of scope for wp-cli.

joyously avatar Mar 17 '17 22:03 joyously

@joyously Out of curiosity and a desire to learn more, why do you say that? How would you define scope for WP-CLI commands?

danielbachhuber avatar Mar 17 '17 22:03 danielbachhuber

Doesn't WP-CLI stand for WordPress command line interface? How is interfacing with SVN part of a WordPress installation?

joyously avatar Mar 18 '17 05:03 joyously

Doesn't WP-CLI stand for WordPress command line interface?

It does, yes.

How is interfacing with SVN part of a WordPress installation?

WP-CLI isn't strictly tied to CRUD operations against WordPress, see wp scaffold plugin-tests as an example.

Also related https://github.com/wp-cli/ideas/issues/1

danielbachhuber avatar Mar 20 '17 13:03 danielbachhuber