kotlinx-cli
xls2json
kotlinx-cli | xls2json | |
---|---|---|
8 | 6 | |
894 | 43 | |
0.3% | - | |
4.9 | 0.0 | |
8 months ago | over 1 year ago | |
Kotlin | Kotlin | |
Apache License 2.0 | BSD 3-clause "New" or "Revised" License |
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.
kotlinx-cli
-
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).
xls2json
- New Project: CLI to transform Excel spreadsheets to JSON (/r/commandline)
- New Project: CLI to transform Excel spreadsheets to JSON (in Kotlin)
-
New Project: CLI to transform Excel spreadsheets to JSON
By Tammo Ippen [email protected] Issues: https://github.com/tammoippen/xls2json/issues ```
-
https://np.reddit.com/r/commandline/comments/nu5xzg/new_project_cli_to_transform_excel_spreadsheets/h0vuhob/
❯ xls2json --help Open an xls(x|m) file and transform to json. Usage: xls2json [-hlmsvV] [-D=] [-T=] [-t=]... [...] If no `--table`s are provided, then all tables will be extracted. All files will be processed one by one, each outputting on line of json. [...] xls(x|m)-file(s) to transform -h, --help Show this help message and exit. -V, --version Print version information and exit. -m, --memory Show memory usage information. -v, --verbose Show more information. --pretty Pretty print the JSON. -l, --list-tables List all tables. -t, --table= Specify the tables to transform -p, --password= Password for opening the input file(s). -s, --strip Strip empty columns and empty rows. -D, --datetime-format= The datetime format. [default: 'yyyy-MM-dd'T'HH:mm:ss.SSS'] -T, --time-format= The time format. [default: 'HH:mm:ss.SSS'] By Tammo Ippen Issues: https://github.com/tammoippen/xls2json/issues
What are some alternatives?
clikt - Multiplatform command line interface parsing for Kotlin
kotlinx.serialization - Kotlin multiplatform / multi-format serialization
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.
jackson-module-kotlin - Module that adds support for serialization/deserialization of Kotlin (http://kotlinlang.org) classes and data classes.
cobra - A Commander for modern Go CLI interactions
zoe - The Kafka CLI for humans
maven-mvnd - Apache Maven Daemon
kscript - Scripting enhancements for Kotlin
reveal-kt - Kotlin wrapper for Reveal JS with CLI
ionos-dyndns - dyndns daemon for ionos domains
bandcamp-collection-downloader - A command-line tool to automatically download all releases purchased with a Bandcamp account. The official page of the project is https://framagit.org/Ezwen/bandcamp-collection-downloader, while here this is just a mirror hosted on Github.