Split internal commands into distinct packages #3728

Open
danielbachhuber opened this Issue Jan 11, 2017 · 2 comments

Projects

None yet

2 participants

@danielbachhuber
Member

WP-CLI has organically evolved into a monolithic codebase that can now be abstracted to a set of discrete packages. In order to better support a future with lots of disparate WP-CLI features, let's split internal commands into a series of distinct packages, beginning with:

  • wp search-replace
  • wp shell
  • wp server
  • wp (eval|eval-file)
  • wp media

When we split the packages, we should:

  • Preserve Git history
  • Mirror Travis' test suite matrix in the package

Previously: #3652 (comment)

@szepeviktor
Member
szepeviktor commented Feb 1, 2017 edited

Does it mean that we will be able to build smaller phar-s?

@danielbachhuber
Member

Does it mean that we will be able to build smaller phar-s?

No — the Phar will still contain these commands for the foreseeable future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment