ScoopInstaller_Main/bucket/clink-completions.json
2025-07-16 20:30:32 +00:00

36 lines
1.3 KiB
JSON

{
"version": "0.6.4",
"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.4.zip",
"hash": "2197b7962e07018d061dc7f2bc81612e53ea2f535016981e02c91b995a8eb6fc",
"extract_dir": "clink-completions-0.6.4",
"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"
}
}