Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Standardize logging between handwritten and generated commands

オープン
#53 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript
領域
cli

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

enhancement priority: p2

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.
  • --quiet suppresses 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.
主要言語
TypeScript
スター
916
フォーク
53
平均マージ
23時間 17分
マージ済み PR(30日)
220

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

cloudflare/cf のほかの issue

cloudflare/cf の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。