4paradigm / 4paradigm/OpenMLDB
support output redirection to a file in the CLI
Open
Beginner friendly
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
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