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

Consolidate interactive prompt and selection helpers

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

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

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

評価

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

調査の方向性

Start by reading the existing prompt paths in packages/cli/src/lib/dialog.ts, prompt.ts, deploy-context.ts, autoconfig.ts, and oauth/index.ts, then trace how each caller handles cancellation, empty choices, and non-interactive execution. Done means these callers use one injectable contract, with consistent fallback guidance and no regressions to prompt text or accessibility behavior.

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

説明

enhancement priority: p3

Problem

Interactive prompting is implemented through several overlapping paths, including shared dialog helpers, deployment adapters, autoconfiguration adapters, and authentication-specific prompt functions.

This creates inconsistent cancellation, non-interactive behavior, error messages, and test setup.

Scope

Consolidate prompt and selection behavior around one shared abstraction. Current public code to review includes:

  • packages/cli/src/lib/dialog.ts
  • packages/cli/src/lib/prompt.ts
  • packages/cli/src/lib/deploy-context.ts
  • packages/cli/src/lib/autoconfig.ts
  • packages/cli/src/lib/oauth/index.ts

Acceptance criteria

  • Prompt and select operations share cancellation and empty-choice behavior.
  • Non-interactive execution fails with actionable fallback guidance.
  • Callers can inject deterministic test implementations.
  • Authentication, deployment, autoconfiguration, and initialization use the shared contract.
  • Existing user-facing prompt text and accessibility behavior do not regress.
主要言語
TypeScript
スター
916
フォーク
53
平均マージ
18時間 26分
マージ済み PR(30日)
177

環境構築

はじめの一歩

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

cloudflare/cf のほかの issue

cloudflare/cf の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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