autifyhq / autifyhq/autify-cli

Place machine-readable output as a file

Open
#91 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
43
Forks
5
Avg merge
1h 59m
Merged PRs (30d)
3

Description

High level commands such as `web test run` use stdout for informing to the human user. Therefore, it is not easy to pass the re-usable data to other process via pipe.

We could use stderr for logging and stdout for machine-readable information but such convention will break easily. Also, machine-readable information is not needed for human.

Thus, we should put such data on data directory like `~/.data/autify/output/web-test-run--.json` then print the location as a log. The other process like CI/CD integration can parse the file location from log easily and get the output in json format.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.