Closed jonathanbardo closed 10 years ago
@jonathanbardo if I invoke just wp ssh --host-vagrant
, I would expect to get the help screen which you'd get if you just typed wp
It works for me. Have you remove your wp alias in your bash_rc ?
@jonathanbardo yeah, it works for me too. Not sure what I missed.
@westonruter Here is the first draft for the command wp cli ssh.
One can invoke
wp ssh core version --host=vagrant
and it will forward to the specified host.We can also create an alias for wp to forward by default to vagrant:
I used a reflection class to prevent having copy-pasted core function. This should be temporary.
This should close #4.