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

Add select-all and invert-selection to all select-like prompts

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

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

評価

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

調査の方向性

まず multiselect と groupMultiselect のプロンプト実装を見つけ、a キーバインドと i キーバインドの処理方法を比較します。グループ化されたプロンプトで、グループをまたいですべての選択可能なオプションの切り替えまたは反転をサポートし、無効化された行、区切り行、ヘッダー行は変更されない状態になれば完了です。

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

説明

Context

This came up while evaluating @clack/prompts as a potential replacement for enquirer.js, comparing it with enquirer.js and @inquirer/prompts.

Split out from: #550

Problem

The flat multiselect prompt supports:

a = toggle all
i = invert selection

groupMultiselect does not currently support the same keybindings across all groups.

This makes bulk selection harder in grouped prompts, especially when there are many options.

Proposal

Add select-all and invert-selection behavior to all relevant select-like prompts.

For groupMultiselect:

  • a should toggle all selectable options across all groups
  • i should invert all selectable options across all groups
  • Disabled/separator/header rows should not be affected

This would make grouped selection behavior more consistent with multiselect.

主要言語
TypeScript
スター
8.1k
フォーク
217
平均マージ
1日 11時間
マージ済み PR(30日)
5

環境構築

はじめの一歩

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

bombshell-dev/clack のほかの issue

bombshell-dev/clack の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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