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

Respect "No, don't ask again" for the shell-completion prompt

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript
領域
cli

調査の方向性

Start at the shell-completion prompt and the standard global settings handling used by cf commands. Reproduce the prompt across new processes and working directories, then inspect how temporary and permanent declines, resets, non-interactive execution, and settings write failures are represented. Done means the acceptance scenarios pass with focused tests for each behavior.

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

説明

bug priority: p1

Problem

The CLI can repeatedly ask whether to enable shell completion even after the user selects “No, don't ask again.” Repeating the prompt on every command makes the preference ineffective and disrupts normal use.

Reproduction

  1. Run a command that displays the shell-completion prompt.
  2. Select “No, don't ask again.”
  3. Run another cf command.

The prompt appears again.

Expected behavior

Persist the opt-out in the standard global settings location and do not show the prompt again unless the user explicitly resets that preference.

Acceptance criteria

  • The opt-out survives new processes and working directories.
  • Declining once without the permanent option retains the intended temporary behavior.
  • Read-only or unwritable settings locations produce a single actionable warning.
  • Non-interactive and CI environments never display the prompt.
  • Tests cover opt-in, one-time decline, permanent decline, reset, and persistence failure.
主要言語
TypeScript
スター
853
フォーク
42
平均マージ
16時間 43分
マージ済み PR(30日)
160

環境構築

はじめの一歩

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

cloudflare/cf のほかの issue

cloudflare/cf の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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