Commit 96aa999
committed
Handle old config syntax gracefully
`wp config get --global=<global>` => `wp config get <name> --type=variable`
`wp config get --constant=<constant>` => `wp config get <name> --type=constant`
`wp config get` => `wp config list`
Fixes wp-cli#431 parent d790e72 commit 96aa999
1 file changed
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
728 | 728 | | |
729 | 729 | | |
730 | 730 | | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
731 | 754 | | |
732 | 755 | | |
733 | 756 | | |
| |||
0 commit comments