mordant
Text-IO
mordant | Text-IO | |
---|---|---|
5 | 2 | |
888 | 332 | |
- | 1.5% | |
9.1 | 0.0 | |
5 days ago | 6 months ago | |
Kotlin | Java | |
Apache License 2.0 | Apache License 2.0 |
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.
mordant
-
Looking for Kotlin Console UI libraries that work in IDE Terminal
I'm currently using Picnic and Mordant which are working nicely. I've tried out Kotter and Text-IO, but they either open a Swing terminal or require you to run a `.bat` script or something.
- Guides for Kotlin scripting use case
-
Why I'm still using Python
> Many languages have libraries for ANSI color support and pretty printing, but no other language has Rich:
https://github.com/ajalt/mordant
- I've created a small library for interactive CLI UI called 'kotlin-inquirer'
- A TUI library for Kotlin?
Text-IO
-
Looking for Kotlin Console UI libraries that work in IDE Terminal
I'm currently using Picnic and Mordant which are working nicely. I've tried out Kotter and Text-IO, but they either open a Swing terminal or require you to run a `.bat` script or something.
-
run code in cmd
Alternatively, if you want to do something overkill, you could just refactor the program to make it open a GUI-based terminal instead (such as this: https://github.com/beryx/text-io)
What are some alternatives?
clikt - Multiplatform command line interface parsing for Kotlin
jbock - Reflectionless command line parser
kotlin-argparser - Easy to use and concise yet powerful and robust command line argument parsing for Kotlin
ASCII Table - Several implementations of a text table, originally using ASCII and UTF-8 characters for borders.
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.
Jansi - Jansi is a small java library that allows you to use ANSI escape sequences to format your console output which works even on windows.
kotlin-cli - Kotlin-CLI - command line interface options parser for Kotlin
Java ASCII Render - ASCII renderer in pure java with no external dependencies
kscript - Scripting enhancements for Kotlin
progressbar - Terminal-based progress bar for Java / JVM
kopper - A simple Kotlin option parser
picnic - A Kotlin DSL and Java/Kotlin builder API for constructing HTML-like tables which can be rendered to text