mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-02 14:51:18 +00:00
30 lines
1.1 KiB
JSON
30 lines
1.1 KiB
JSON
{
|
|
"version": "2.4.0",
|
|
"description": "Command-line interface for WordPress",
|
|
"homepage": "https://wp-cli.org",
|
|
"license": "MIT",
|
|
"suggest": {
|
|
"PHP": [
|
|
"php",
|
|
"php-nts"
|
|
]
|
|
},
|
|
"notes": "'wp cli update' is aliased to 'scoop update wp-cli'",
|
|
"url": "https://github.com/wp-cli/wp-cli/releases/download/v2.4.0/wp-cli-2.4.0.phar#/wp-cli.phar",
|
|
"hash": "sha512:4049c7e45e14276a70a41c3b0864be7a6a8cfa8ea65ebac8b184a4f503a91baa1a0d29260d03248bc74aef70729824330fb6b396336172a624332e16f64e37ef",
|
|
"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"
|
|
}
|
|
}
|
|
}
|