xwp / wp-cli-ssh

[OBSOLETE] Seamlessly run WP-CLI commands on a remote server via SSH
157 stars 14 forks source link

add inline docs for command #12

Closed scribu closed 10 years ago

scribu commented 10 years ago

Besides showing up when running wp ssh --help, documenting the parameters also makes WP-CLI validate them.

So, when you just run wp ssh, with no parameters, you'll now get useful message, instead of a list of all the commands:

$ wp ssh
usage: wp ssh <command> --host=<host>
jonathanbardo commented 10 years ago

Thank you @scribu! This was much needed.