4paradigm / 4paradigm/OpenMLDB

support output redirection to a file in the CLI

Đang mở Phù hợp với người mới
#3,190 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
execute-engine
Ngôn ngữ chính
C++
Star
1.7k
Fork
331
Merge trung bình
12 ngày 12 giờ
Pull request đã merge (30 ngày)
1

Mô tả

`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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
cli
Lĩnh vực
cli
Loại issue
Tính năng
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
70/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.