2019-04-25 10:01:38 +00:00

30 lines
1.2 KiB
JSON

{
"homepage": "https://wp-cli.org",
"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.",
"license": "MIT",
"version": "2.2.0",
"url": "https://github.com/wp-cli/wp-cli/releases/download/v2.2.0/wp-cli-2.2.0.phar#/wp-cli.phar",
"hash": "sha512:2103f04a5014d629eaa42755815c9cec6bb489ed7b0ea6e77dedb309e8af098ab902b2f9c6369ae4b7cb8cc1f20fbb4dedcda83eb1d0c34b880fa6e8a3ae249d",
"bin": "wp.ps1",
"pre_install": [
"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\"",
"echo 'else { & php (join-path $psscriptroot \"wp-cli.phar\") @args }' | out-file \"$dir\\wp.ps1\" -append"
],
"suggest": {
"PHP": [
"php",
"php-nts"
]
},
"notes": "'wp cli update' is aliased to 'scoop update wp-cli'",
"checkver": {
"github": "https://github.com/wp-cli/wp-cli"
},
"autoupdate": {
"url": "https://github.com/wp-cli/wp-cli/releases/download/v$version/wp-cli-$version.phar#/wp-cli.phar",
"hash": {
"url": "$url.sha512"
}
}
}