wp-cli / handbook

📖 Complete documentation for WP-CLI
https://make.wordpress.org/cli/handbook/
MIT License
186 stars 320 forks source link

Fix handbook generation when Phar is used directly #476

Closed schlessera closed 7 months ago

schlessera commented 7 months ago

In the case where the handbook generation is triggered via anything else than the wp-cli-dev environment, the script was broken and did not correctly recognize the $repo_url.

This change fixes this to make sure packages are correctly identified from within a vendor folder.