Skip to content
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

Implement --json streaming metadata output mode #32

Open
cassaundra opened this issue Jan 4, 2024 · 0 comments
Open

Implement --json streaming metadata output mode #32

cassaundra opened this issue Jan 4, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@cassaundra
Copy link
Collaborator

Outputs events as line-delimited JSON objects to be consumed by something else.

Example:

{"type": "task_started", "task": "build", "timestamp": "..."}
{"type": "task_completed", "task": "build-deps", "result": "skipped", "timestamp": "..."}
{"type": "task_completed", "task": "build", "result": "success", "timestamp": "..."}

Output from tasks should either be directed to a log or perhaps a different stream (e.g. JSON on stdout, task output on stderr so that it can be inspected when only redirecting stdout).

Note: this is distinct from the inspect subcommand, which already exists and dumps information about tasks without running them.

@cassaundra cassaundra added the enhancement New feature or request label Jan 4, 2024
@cassaundra cassaundra added this to the quake 0.2.0 milestone Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

1 participant