4paradigm / 4paradigm/OpenMLDB
support output redirection to a file in the CLI
- Lingua principale
- C++
- Stelle
- 1.7k
- Fork
- 331
- Merge medio
- 12g 12h
- PR unite (30g)
- 1
Descrizione
`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.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- cli
- Ambito
- cli
- Tipo di issue
- Funzionalità
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 70/100