ScoopInstaller_Main/bucket/clink-completions.json
2025-11-21 20:30:00 +00:00

36 lines
1.3 KiB
JSON

{
"version": "0.6.7",
"description": "Completions for various commands through Clink",
"homepage": "https://github.com/vladimir-kotikov/clink-completions",
"license": "MIT",
"suggest": {
"Clink": "clink"
},
"url": "https://github.com/vladimir-kotikov/clink-completions/archive/v0.6.7.zip",
"hash": "a0f1cfe4a22bbd947ebc1b840b5971f54f168e3c43e6cf31863b4f2d92c12ae3",
"extract_dir": "clink-completions-0.6.7",
"installer": {
"script": [
"$luapath = Join-Path (Split-Path -Path \"$dir\" -Parent) \"current\"",
"if (Get-Command clink -ErrorAction SilentlyContinue) {",
" clink installscripts \"$luapath\"",
"} else {",
" warn 'Clink installation not found. Please manually install these scripts.'",
"}"
]
},
"uninstaller": {
"script": [
"$luapath = Join-Path (Split-Path -Path \"$dir\" -Parent) \"current\"",
"if (Get-Command clink -ErrorAction SilentlyContinue) {",
" clink uninstallscripts \"$luapath\"",
"}"
]
},
"checkver": "github",
"autoupdate": {
"url": "https://github.com/vladimir-kotikov/clink-completions/archive/v$version.zip",
"extract_dir": "clink-completions-$version"
}
}