con / con/duct

Add a mode to "interleave" stdout and stderr

Open
#313 6 comments 0 reactions 0 assignees View on GitHub
good-for-hackathon
Dominant language
Python
Stars
12
Forks
6
Avg merge
5d 18h
Merged PRs (30d)
2

Description

ATM we write both stdout and stderr into different files.

I would like to be able to switch to another mode, which would dump them into the same file, so ideally mimicing how humans see it dumped to the terminal. Ideally we might want to annotate somehow which stream it is e.g.

```
[stdout] output to stdout
[stderr] output to stderr
```

may be there is already a separate helper which could help us with that and push everything to stdout with annotations (not just `2>&1`) and we could just turn off e.g. stderr output, and overall just an example/howto?

Contributor guide

Open the contributing guide

Research direction

Review the existing command-capture path that currently writes stdout and stderr to separate files. Clarify whether the requested mode should preserve stream ordering and/or add annotations, then define completion as a selectable mode that produces one combined output file with the agreed behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.