Implement `--quiet` to only output errors
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 51
- Forks
- 40
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 3
Description
I have updater.phar executed by a cron job, including the --quiet flag to avoid unnecessary emails. This works as long as nothing happens, but when the updater actually performs an update, there is a lot of text still written to stdout, resulting in an email. Personally, I'm only interested in getting mails when something goes wrong (stderr output).
I would like to know if the current behavior is intended and if there won't be support for my usecase. In this case I would need to stay with /dev/null redirection.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating how the updater.phar command parses and handles --quiet, then trace where update status text is written to stdout and errors to stderr. Done means quiet runs emit no normal update output while preserving error output, with behavior verified for both a successful update and a failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100