4paradigm / 4paradigm/OpenMLDB

support output redirection to a file in the CLI

Ouverte Adaptée aux débutants
#3,190 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
execute-engine
Langage dominant
C++
Étoiles
1.7k
Forks
331
Merge moyen
12 j 12 h
PR mergées (30 j)
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.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
cli
Domaine
cli
Type d'issue
Fonctionnalité
Difficulté
2/5
Temps estimé
1-3 heures
Activité
À l'abandon
Clarté
Clairement spécifiée
Accessibilité débutants
70/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.