jmfayard
07/31/2022, 5:14 PMjmfayard
07/31/2022, 5:15 PMmbonnin
07/31/2022, 5:21 PMmbonnin
07/31/2022, 5:22 PMnpx
equivalent for Kotlin clis (cf gradle community discussion)mbonnin
07/31/2022, 5:24 PMjmfayard
07/31/2022, 5:24 PMkscript <http://example.com/xxx/script.main.kts>
thing
but I would like to call my tool frequently with just $ goto
I think I will try brew + install.sh for people on Linuxmbonnin
07/31/2022, 5:29 PMinstall.sh
shell script that you can pipe from curl and:
◦ selects the correct distZip for a given architecture
◦ unzips it.
◦ calls it in bootstrap mode ./mycli bootstrap
• ./mycli bootstrap
would then:
◦ set the PATH
◦ set the autocompletion
◦ run any other install hooks
• Later on, ./mycli update
would perform selfupdatembonnin
07/31/2022, 5:30 PM~/.mycli
folder where to do the installjmfayard
07/31/2022, 5:34 PMjmfayard
07/31/2022, 5:35 PMkscript install jmfayard/kotlin-cli-starter
jmfayard
07/31/2022, 5:36 PMmbonnin
07/31/2022, 5:36 PMkscript
mbonnin
07/31/2022, 5:37 PMjmfayard
07/31/2022, 5:37 PMmbonnin
07/31/2022, 5:37 PMjmfayard
07/31/2022, 5:37 PMinstall.sh
while brew and clikt have you coveredmbonnin
07/31/2022, 5:38 PMinstall.sh
would delegate to your own CLImbonnin
07/31/2022, 5:38 PMmbonnin
07/31/2022, 5:39 PMinstall.sh
is a very simple script that just needs to detect the current arch, select the appropriate file and run itjmfayard
07/31/2022, 5:39 PMmbonnin
07/31/2022, 5:41 PMjmfayard
07/31/2022, 5:41 PMjmfayard
07/31/2022, 5:43 PMmbonnin
07/31/2022, 5:44 PMjmfayard
07/31/2022, 5:45 PMmbonnin
07/31/2022, 5:45 PMmbonnin
07/31/2022, 5:50 PMmbonnin
07/31/2022, 5:50 PMjmfayard
07/31/2022, 7:50 PMjmfayard
07/31/2022, 7:50 PMkickstart
mbonnin
07/31/2022, 7:52 PMkickstand
🚲Big Chungus
07/31/2022, 10:25 PMBig Chungus
07/31/2022, 10:27 PMjmfayard
08/01/2022, 6:37 AMmbonnin
08/01/2022, 7:57 AMBig Chungus
08/01/2022, 8:19 AMjmfayard
08/01/2022, 8:20 AMtldr
from the command line, I have no idea if it's interpreted or compiledBig Chungus
08/01/2022, 8:21 AMjmfayard
08/01/2022, 8:23 AMBig Chungus
08/01/2022, 8:24 AMBig Chungus
08/01/2022, 8:24 AMjmfayard
08/01/2022, 8:24 AMjmfayard
08/01/2022, 8:25 AMWhat would be useful here, is some cli tool to package native binary (not necessarily from k/n) into winget, flatpak and tap distributables. Surely there must be something out there already for that (seeing as c app would likely use the same tooling for this)then I guess the question is whether other language communities comipling to native already have something to distribute executables that we could steal 🙂
Big Chungus
08/01/2022, 8:25 AMBig Chungus
08/01/2022, 8:26 AMBig Chungus
08/01/2022, 8:26 AMjmfayard
08/01/2022, 8:27 AMBig Chungus
08/01/2022, 8:27 AMjmfayard
08/01/2022, 8:28 AMBig Chungus
08/01/2022, 8:29 AMBig Chungus
08/01/2022, 8:30 AMjmfayard
08/01/2022, 8:32 AMBig Chungus
08/01/2022, 8:33 AMjmfayard
08/01/2022, 8:34 AMmbonnin
08/01/2022, 8:42 AMbrew install jmfayard/super-cli
mbonnin
08/01/2022, 8:43 AMbrew install kotlincommunity/super-cli
instead?mbonnin
08/01/2022, 8:43 AMjmfayard
08/01/2022, 8:43 AMmbonnin
08/01/2022, 8:44 AMmbonnin
08/01/2022, 8:44 AMmbonnin
08/01/2022, 8:44 AMjmfayard
08/01/2022, 8:45 AMjmfayard
08/01/2022, 8:45 AMmbonnin
08/01/2022, 8:45 AMmbonnin
08/01/2022, 8:45 AMjmfayard
08/01/2022, 8:45 AM