ktx
ktx copied to clipboard
[Feature request] Manage/auto-update changes of packages/scripts
I installed my script with
> ktx install https://raw.githubusercontent.com/krzema12/PersonalConfigs/master/scripts/removeLocalMergedBranches.main.kts --alias=remove-merged-branches
but I guess ktx just fetches it once and doesn't check for changes, right? I thought ktx can be made aware of versions somehow. For Maven packages it will be much easier, and for scripts, I can think of several approaches:
- inferring actual commit SHA-1 and using it as version
- simply detecting that the remote file changed
I'd then see a feature of updating all/chosen packages/scripts, perhaps also doing it automatically or perhaps only checking for updates.
Great idea, definitely worth the effort. At the moment caching is rudimental and only checks the remote if there's no such file is already downloaded.