Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

(automatically) provide structured JSON outputs for commands when stdout isn't an ANSI-capable terminal #892

Closed
KtorZ opened this issue Mar 20, 2024 · 0 comments
Labels
tooling Tooling and developer experience improvements

Comments

@KtorZ
Copy link
Member

KtorZ commented Mar 20, 2024

What is your idea? Provide a use case.

Many (all?) commands return some fancy outputs which look (arguably) good in the terminal. While pretty, this isn't particularly useful for manipulating the output and building tools.

We could instead provide structured JSON outputs for a variety of commands (e.g. aiken check) ready for consumption.

Why is it a good idea?

This enables more tools to rely on the CLI, and open up use cases for automation down the line.

What is the current alternative and why is it not good enough?

Current alternative requires awkward parsing of the output, which may contains color codes and whatnot.

@KtorZ KtorZ added the tooling Tooling and developer experience improvements label Mar 20, 2024
@KtorZ KtorZ added this to the 1.0.26-alpha milestone Mar 20, 2024
@KtorZ KtorZ moved this to 🚀 Todo in Project Tracking Mar 20, 2024
@KtorZ KtorZ removed this from the 1.0.27-alpha milestone Apr 4, 2024
@rvcas rvcas mentioned this issue Apr 13, 2024
52 tasks
@aiken-lang aiken-lang locked and limited conversation to collaborators May 9, 2024
@KtorZ KtorZ converted this issue into discussion #931 May 9, 2024
@github-project-automation github-project-automation bot moved this from 🚀 Todo to ✅ Done in Project Tracking May 9, 2024
@rvcas rvcas moved this to 🚀 Released in Project Tracking May 22, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
tooling Tooling and developer experience improvements
Projects
Status: 🚀 Released
Development

No branches or pull requests

1 participant