Skip to content

Commit 951bf81

Browse files
edgardmessiasr15ch13
authored andcommitted
Add wp-cli version 2.1.0 (#3207)
1 parent 4905c39 commit 951bf81

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

bucket/wp-cli.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"homepage": "https://wp-cli.org",
3+
"description": "WP-CLI is the command-line interface for WordPress. You can update plugins, configure multisite installs and much more, without using a web browser.",
4+
"license": "MIT",
5+
"version": "2.1.0",
6+
"url": "https://github.com/wp-cli/wp-cli/releases/download/v2.1.0/wp-cli-2.1.0.phar#/wp-cli.phar",
7+
"hash": "sha512:c2ff556c21c85bbcf11be38d058224f53d3d57a1da45320ecf0079d480063dcdc11b5029b94b0b181c1e3bec84745300cd848d28065c0d3619f598980cc17244",
8+
"bin": "wp.ps1",
9+
"pre_install": [
10+
"echo 'if($args.length -eq 2 -and ($args[0] -eq \"cli\" -and $args[1] -eq \"update\")) { & scoop update wp-cli }' | out-file \"$dir\\wp.ps1\"",
11+
"echo 'else { & php (join-path $psscriptroot \"wp-cli.phar\") @args }' | out-file \"$dir\\wp.ps1\" -append"
12+
],
13+
"suggest": {
14+
"PHP": [
15+
"php",
16+
"php-nts"
17+
]
18+
},
19+
"notes": "'wp cli update' is aliased to 'scoop update wp-cli'",
20+
"checkver": {
21+
"github": "https://github.com/wp-cli/wp-cli"
22+
},
23+
"autoupdate": {
24+
"url": "https://github.com/wp-cli/wp-cli/releases/download/v$version/wp-cli-$version.phar#/wp-cli.phar",
25+
"hash": {
26+
"url": "$url.sha512"
27+
}
28+
}
29+
}

0 commit comments

Comments
 (0)