-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Suggestion: Output Handler #729
Comments
I'm mainly suggesting this as this is code I've built myself but used in multiple apps. Definitely one to close if it's not useful, but for various CLIs being able to have an API to show output to users and use the highest fidelity representation. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Some code from my own libraries that could be useful if you want richer terminal integration.
Launching preview apps
https://github.com/yschimke/oksocial-output/blob/master/src/main/kotlin/com/baulsupp/oksocial/output/OsxOutputHandler.kt
Json pretty printing
https://github.com/yschimke/oksocial-output/blob/master/src/main/kotlin/com/baulsupp/oksocial/output/ConsoleHandler.kt
Image support (e.g. iTerm2)
https://github.com/yschimke/oksocial-output/blob/master/src/main/kotlin/com/baulsupp/oksocial/output/iterm/ItermOutputHandler.kt
The text was updated successfully, but these errors were encountered: