Ron Rennick
c605b93737
add get single tax class, support cli tax class delete
2020-08-11 17:34:46 -03:00
Christopher Allford
933cdd7a7b
Removed the default `id` field added to all CLI commands
...
Some of our endpoints don't have an "<id>" parameter but we're expecting one in the CLI. Since the `id` is already part of the supported IDs we don't actually need this since it will pull it from the route.
2020-07-10 14:16:30 -07:00
Christopher Allford
c3618cad47
Added the `instance_id` parameter to the CLI runner
...
This is used for shipping zone methods and so we need to be able to parse it too!
2020-07-10 07:21:05 -07:00
Claudio Sanches
0660a50e07
Removed obvious boolean results
2018-03-21 19:57:10 -03:00
Rodrigo Primo
66911be455
Fix PHPCS violations in includes/cli/class-wc-cli-runner.php
2018-03-06 09:20:58 -03:00
Rodrigo Primo
44a5903ce6
Fix PHPCS violations in includes/cli using phpcbf
...
Fix all violations that phpcbf can fix automatically.
2018-03-05 16:46:54 -03:00
Caleb Burks
828141c407
CLI ID argument should come after parent ID args
2018-02-25 14:59:23 -05:00
Claudio Sanches
a13158a75a
Apply wc_maybe_define_constant() in all places
2017-09-05 16:52:39 -03:00
Akeda Bagus
53807185a8
Fixed typos.
...
These typos are catched by `misspell` program.
```
find . -type f | grep -v assets | grep -v dummy-data | grep -v i18n | grep -v node_modules | grep -v .git | grep -v apigen | xargs misspell -w
```
Some results were excluded because of 3rd party ownership and non-english
sentences.
2017-07-10 12:56:28 +07:00
Justin Shreve
dd80f25f90
Fix issues with CLI IDs
2017-06-16 06:29:57 -07:00
Mike Jolley
db012b3a12
Merge pull request #15011 from woocommerce/fix/14999
...
Add abspath checks
2017-05-23 15:57:35 +01:00
Mike Jolley
d31a58b117
More abspath
2017-05-23 15:40:19 +01:00
Rasmus Bengtsson
6a7fc8650f
Remove unused local variables
2017-05-15 12:06:52 +02:00
Mike Jolley
b0bba8c853
Remove array merge
2017-04-28 17:09:39 +01:00
Mike Jolley
4b0fff3437
Fix zone routes in CLI
...
Fixes #14750
2017-04-28 15:49:51 +01:00
Claudio Sanches
ffe1deba51
Disable setting options endpoint in CLI
2017-03-23 20:37:42 -03:00
Claudio Sanches
59c2849736
Changed version 2.7 to 3.0
2017-03-15 13:36:53 -03:00
Aristeides Stathopoulos
70ee7ae7ea
Fix some PHPCS errors
2017-03-07 19:57:28 +02:00
Justin Shreve
9c8dd2d916
Only target v2 of the WC REST API when generating CLI commands.
2017-03-01 13:05:04 -08:00
Justin Shreve
700026c2ab
Separate positional and assoc arguments.
2017-02-10 08:38:43 -08:00
Justin Shreve
309d118287
Restructure ID route code for the CLI & make the attribute term command work.
2017-02-09 10:29:24 -08:00
Claudio Sanches
0da2f70e13
Fixed coding standards
2016-12-15 15:11:08 -02:00
Justin Shreve
ec30c308c3
Add CLI tests
2016-12-08 14:13:10 -08:00
Justin Shreve
da1e14c087
Add WC CLI commands powered by the REST API.
2016-12-08 10:59:07 -08:00