Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant