2021-05-19 09:40:50 -07:00

30 lines
1.1 KiB
JSON

{
"version": "2.5.0",
"description": "Command-line interface for WordPress",
"homepage": "https://wp-cli.org",
"license": "MIT",
"notes": "'wp cli update' is aliased to 'scoop update wp-cli'",
"suggest": {
"PHP": [
"php",
"php-nts"
]
},
"url": "https://github.com/wp-cli/wp-cli/releases/download/v2.5.0/wp-cli-2.5.0.phar#/wp-cli.phar",
"hash": "sha512:08dd9035fda1d529807380d5b757839e2809e289eb1a698fe33e7e21a1431d3f77c551c2b2db5adc55083d5075ea4137407994111890f765e790a97e6d9ca7af",
"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"
],
"bin": "wp.ps1",
"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"
}
}
}