kotlin-shell
Tool for performing shell-like programing in Kotlin (by jakubriegel)
kotlinx-cli
Pure Kotlin implementation of a generic CLI parser. (by Kotlin)
kotlin-shell | kotlinx-cli | |
---|---|---|
2 | 8 | |
139 | 893 | |
- | 0.3% | |
0.0 | 4.9 | |
almost 3 years ago | 8 months ago | |
Kotlin | Kotlin | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
kotlin-shell
Posts with mentions or reviews of kotlin-shell.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2020-12-29.
- Kotlin-shell: Tool for performing shell-like programing in Kotlin
-
Is Kotlin Native ready for CLI tools development ?
Kotlin-shell looks pretty interesting too: https://github.com/jakubriegel/kotlin-shell
kotlinx-cli
Posts with mentions or reviews of kotlinx-cli.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-12.
-
com.lihaoyi Scala: Executable Pseudocode that's Easy, Boring, and Fast
In Kotlin, I've been having a great time with kotlinx-cli. No macros involved or magic involved, and it's closer to the author's own ideals.
-
Guides for Kotlin scripting use case
(And some less good ones https://github.com/Kotlin/kotlinx-cli, despite being official)
-
How can I make my class more reusable?
Not exactly sure what you're doing, but check out https://github.com/Kotlin/kotlinx-cli which is an official multiplatform solution for parsing incoming options. If you can use it in your case, great! If not, you might at least be inspired by the API (and how extensive even a "simple" idea can get).
-
New Project: CLI to transform Excel spreadsheets to JSON (in Kotlin)
For CLI programs in Kotlin, I suggest taking a look at kotlinx-cli or, especially, Clikt, for idiomatic Kotlin code without annotations and such. Of course, after having already written the program, you're most likely not gonna switch that out, but I just wanted to inform you about that.
-
Cli frameworks for Kotlin
What about the official command line parser from jetbrains? https://github.com/Kotlin/kotlinx-cli
-
Absolute beginner - readLine() convert input to Int
I think, you can use libs for that. ex: Clikt, kotlinx.cli, picocli
-
Started Learning Kotlin 3 days ago, this is my first little project
Nice work! Welcome to Kotlin, it’s quickly becoming my favourite language. (Former PHP, current Java dev here). You should check out https://github.com/Kotlin/kotlinx-cli if you want to take it to the next level.
-
Is Kotlin Native ready for CLI tools development ?
There is https://github.com/Kotlin/kotlinx-cli but you'll have to weigh this against quality and completeness of third party efforts as you've already discovered (in any case you'll probably need multiple libraries).
What are some alternatives?
When comparing kotlin-shell and kotlinx-cli you can also consider the following projects:
kscript - Scripting enhancements for Kotlin
clikt - Multiplatform command line interface parsing for Kotlin
cobra - A Commander for modern Go CLI interactions
picocli - Picocli is a modern framework for building powerful, user-friendly, GraalVM-enabled command line apps with ease. It supports colors, autocompletion, subcommands, and more. In 1 source file so apps can include as source & avoid adding a dependency. Written in Java, usable from Groovy, Kotlin, Scala, etc.
ionos-dyndns - dyndns daemon for ionos domains
maven-mvnd - Apache Maven Daemon
4koma - A TOML 1.0 parser library for Kotlin
kotlinx.coroutines - Library support for Kotlin coroutines
kotlin-shell vs kscript
kotlinx-cli vs clikt
kotlin-shell vs cobra
kotlinx-cli vs picocli
kotlin-shell vs ionos-dyndns
kotlinx-cli vs cobra
kotlin-shell vs maven-mvnd
kotlinx-cli vs maven-mvnd
kotlin-shell vs 4koma
kotlinx-cli vs kscript
kotlin-shell vs kotlinx.coroutines
kotlinx-cli vs ionos-dyndns