wp-cli / autoload-splitter

MIT License
3 stars 3 forks source link

Locate `wp-cli/wp-cli` package #1

Closed schlessera closed 7 years ago

schlessera commented 7 years ago

The path to the wp-cli/wp-cli needs to be detected reliably to base the location of the AutoloadSplitter logic class on. Otherwise, packages that don't have the location to this class set in their composer.json file will receive the current default that only works from within the wp-cli/wp-cli root package, but not from within a command package that pulls in wp-cli/wp-cli as a dependency.

Related issue: https://github.com/wp-cli/doctor-command/pull/110#issuecomment-298749333