ScoopInstaller_Main/bucket/clink-completions.json
2025-09-16 20:28:28 +00:00

36 lines
1.3 KiB
JSON

{
"version": "0.6.6",
"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.6.zip",
"hash": "2835384e2ee2e052f347b7bf6954e0c71754da4b7ecd968915f5ee4fdec193d7",
"extract_dir": "clink-completions-0.6.6",
"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"
}
}