Standardize logging between handwritten and generated commands
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- cli
Hướng nghiên cứu
Start by locating the handwritten and generated command entry points and their current output helpers. Compare how normal, quiet, JSON, and NDJSON modes route messages, then identify the snapshot-test structure needed for success, warning, failure, cancellation, and non-interactive paths. Done means both command types share equivalent output structure without decorative text in machine-readable modes.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
Handwritten commands use a mixture of raw console output and structured UI helpers, while generated commands follow a more consistent lifecycle. The result is inconsistent indentation, progress states, error presentation, quiet-mode behavior, and stream selection.
Expected behavior
Define shared output primitives that both handwritten and generated commands can use for:
- sections and progress lifecycle;
- informational messages, warnings, and errors;
- copy-friendly commands and code blocks;
- normal, quiet, JSON, and NDJSON modes;
- consistent stdout and stderr routing.
Acceptance criteria
- Representative handwritten and generated commands produce the same output structure for equivalent operations.
--quietsuppresses nonessential status output.- JSON and NDJSON output contain no decorative terminal text.
- Code snippets remain directly copyable.
- Snapshot coverage includes success, warning, failure, cancellation, and non-interactive paths.
- Ngôn ngữ chính
- TypeScript
- Star
- 960
- Fork
- 62
- Merge trung bình
- 17 giờ 15 phút
- Pull request đã merge (30 ngày)
- 194
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của cloudflare/cf
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
cloudflare/cf#344 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
upstream
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
cloudflare/cf#262 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`cf dev` rejects `--port` and `--host` for Vite projects, including the `cf init` templateCó thể đã có người làm @jamesopstad đã nhận 18 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
cloudflare/cf#223 · 2 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
upstream
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
cloudflare/cf#179 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
cloudflare/cf#458 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của cloudflare/cf
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Slaymish/HealthAgent#7 ·
-
area: engine topic: math type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Get-Concord-AI/concord-mcp#310 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Correct install_claude: 'marketplace add' over a different source is refused, not replaced in placeĐang mởtype:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
nightgauge/nightgauge#2804 ·
Maintainer thường phản hồi trong vòng 1 ngày