getkyo / kyo

Toolkit for Scala Development
https://getkyo.io
Apache License 2.0
552 stars 46 forks source link

Add an integration with case-app #602

Open DamianReeves opened 2 months ago

DamianReeves commented 2 months ago

The case-app library is a great way to build CLI applications in Scala. It works with no effect system or with a cats-io based effect system.

It would be great if there was a proper integration with Kyo. Currently the most straightforward way to use this with Kyo is to call Kyo.run in your Command or CaseApp, but we can do better.

Justification

case-app is the CLI library used by coursier and scala-cli and is a mature and feature rich CLI building platform.

This would be a great addition to the Kyo ecosystem and is most likely a low lift integration.

sideeffffect commented 2 months ago

How does it compare to https://github.com/com-lihaoyi/mainargs/ ?