woocommerce/includes/cli
Justin Shreve 71d3308401 Show a reminder to include a valid --user flag when an authentication error is returned by the CLI.
Adds an additional message when the REST API returns 401 errors to the CLI, so that people properly include the `--user` flag.

To test:
* Run a command without a valid user ID (`wp wc product list`).
* See the additional error message.
* Run a command with a valid user ID, but cause another error, like a product not existing. (`wp wc product get 124124124 --user=1`).
* See that the extra error message is not displayed.
2017-03-06 11:34:06 -08:00
..
class-wc-cli-rest-command.php Show a reminder to include a valid --user flag when an authentication error is returned by the CLI. 2017-03-06 11:34:06 -08:00
class-wc-cli-runner.php Only target v2 of the WC REST API when generating CLI commands. 2017-03-01 13:05:04 -08:00
class-wc-cli-tool-command.php Fix notice that displays when activating WC via the command-line. 2017-01-13 10:47:10 -08:00
class-wc-cli-update-command.php Update CLI callback 2016-12-13 13:38:20 +00:00