lingui / lingui/js-lingui

Add a silent or log-level option for the CLI

Open
#2,311 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
5.9k
Forks
457
Avg merge
1d 23h
Merged PRs (30d)
16

Description

Problem Description

Hello there,
I've setup lingui in a project that has a lot going on, running test or build can be a little verbose so it is kind of painfull alway searching the output to see what my problems are.

Proposed Solution

It would be nice to have a --silent option to hide any output (except for errors)

Alternatives Considered

I could redirect to /dev/null or even a log-file but I don't feel like it would be the right solution

Additional Context

If you feel like this could be a nice feature but do not want to waste time on it, let me know, I could open a pull request

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the TypeScript CLI entry points and the existing output and error-handling paths used by test and build commands. Trace how command-line options are parsed, then define the expected behavior for silent and log-level modes and verify that errors remain visible.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.