https://kotlinlang.org logo
Join SlackCommunities
Powered by
# cli
  • g

    Gilberto Diaz

    03/24/2020, 5:05 PM
    set the channel description: All things CLI development and not framework specific.
  • m

    Marc Plano-Lesay

    04/22/2021, 4:26 AM
    Hi, I'm looking at building a small interactive cli tool. I found https://github.com/kotlin-inquirer/kotlin-inquirer but it seems unfinished an unmaintained. Does anyone has any recommendations on things I could use? My needs are mostly around displaying a list of items and allowing the user to pick one or multiple options for that list, things like that - which I can do easily with readline, I'm just wondering if there's anything a bit fancier I could just reuse
    m
    y
    • 3
    • 3
  • y

    Yaniv Grama

    02/06/2022, 3:24 PM
    Hello 👋 I’d like to share with you a nice CLI user interface lib I’ve been working on called kotlin-inquirer I finally had time to get back to it and I would love to hear some suggestions or feedbacks. I thought #cli is a place to post it on 😉 also, I hope you find it useful 🙏 https://github.com/kotlin-inquirer/kotlin-inquirer Thanks!
    👍🏻 1
    👍 2
  • k

    Kyle McBurnett

    10/08/2024, 5:06 PM
    Hello. I am a little stumped at a basic level. I want to run a kotlin program on the command line. thats it. Well, specifically an interactive program.
    Copy code
    fun main() {
        val name = readln()
        println("Hello, " + name + "!")
    }
  • k

    Kyle McBurnett

    10/08/2024, 5:08 PM
    ./gradlew doesn't run it interactively, but I don't want to use gradle to run the program anyways. the script says it can't load the main class euclid@kyles-MBP-3 ~/D/democli (main)> build/scripts/democli Error: Could not find or load main class com.xingpeds.MainKt Caused by: java.lang.ClassNotFoundException: com.xingpeds.MainKt
  • k

    Kyle McBurnett

    10/08/2024, 5:08 PM
    https://github.com/KyleMcB/demo
    m
    • 2
    • 3
  • s

    svenjacobs

    03/22/2025, 9:24 AM
    Hello all 👋🏼 What is the current state of distributing a KMP command line application for all supported platforms? Is there something like Node's
    npx
    for Kotlin?
    👀 1