gauravfs-14 / gauravfs-14/optimize-images-cli

Export logs to a file with `--log` option.

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Currently, we can get the report with `--report` flag, but lack a export of log to a output file.

### Task List:

- Add a `--log` flag. This flag will be optional.
- If a flag is provided, create a log file inside the output directory.

Contributor guide

Open the contributing guide

Research direction

Start by locating the CLI argument parsing and the existing --report output handling, then run the command's help or current tests to understand the output directory behavior. Done means --log is optional and, when provided, creates a log file inside the output directory without changing the existing report behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.