aaemnnosttv / wp-cli-valet-command

Harness the power of Laravel Valet for creating fully functional WordPress installs in seconds.
https://aaemnnost.tv/wp-cli-commands/valet/
299 stars 31 forks source link

Resolve compatibility issues with latest Valet #44

Closed aaemnnosttv closed 6 years ago

aaemnnosttv commented 6 years ago

The wp-cli-valet command uses the valet domain command internally to get the configured TLD Valet uses for serving its sites.

This (Valet) command recently changed in a backwards-incompatible way with the introduction of the tld command.

This PR removes the dependency on valet domain and instead reaches for the value it needs directly from the Valet configuration file.

Resolves #39