4paradigm / 4paradigm/OpenMLDB

support output redirection to a file in the CLI

Open Beginner friendly
#3,190 0 comments 0 reactions 0 assignees View on GitHub
execute-engine
Dominant language
C++
Stars
1.7k
Forks
331
Avg merge
12d 12h
Merged PRs (30d)
1

Description

`show joblog` may generate very long yarn job log, it is inconvenient to read such a long log in the CLI. But currently we do not have the capability to redirect the output to a file.

Contributor guide

Open the contributing guide

Research direction

Look for the CLI command handling, likely in a source file like src/cmd or similar, focusing on the 'show joblog' command. Understand how output is currently printed to stdout. Add a flag or argument to redirect output to a file, using standard file I/O. Test by running the CLI with the new option and verifying the file is created with the job log content.

Written by the indexing model from the issue text.

Assessment

Tech stack
cli
Domain
cli
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
70/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.