Consolidate interactive prompt and selection helpers
メンテナーはふだん 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 の本文から書いたものです。
説明
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.tspackages/cli/src/lib/prompt.tspackages/cli/src/lib/deploy-context.tspackages/cli/src/lib/autoconfig.tspackages/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
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
cloudflare/cf のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
cloudflare/cf#344 ·
メンテナーはふだん 1 日以内に返信
-
upstream
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
cloudflare/cf#262 ·
メンテナーはふだん 1 日以内に返信
-
`cf dev` rejects `--port` and `--host` for Vite projects, including the `cf init` template対応中かも @jamesopstad が 9 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
cloudflare/cf#223 · 担当者 2 名 ·
メンテナーはふだん 1 日以内に返信
-
upstream
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
cloudflare/cf#179 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
cloudflare/cf#380 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
maniator/verticopolis#1303 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
components-web-app/docs#297 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
appwrite/mcp-for-docs#23 · コメント 1 件 ·
-
`@vanilla-extract/turbopack-plugin`: "getImageSize is not a function" with Next.js 16.4.x when a `.css.ts` file imports an image対応中かも @aevarOrigo が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
vanilla-extract-css/vanilla-extract#1799 · コメント 1 件 ·
-
native
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
prime-radiant-inc/evener#4839 ·
メンテナーはふだん 1 日以内に返信