From d2f8054769554a6022f804d2a36e3a695bc895da Mon Sep 17 00:00:00 2001 From: Yuriy Grunin Date: Fri, 26 Apr 2024 17:29:08 +0300 Subject: [PATCH] Add "sortable checkbox" to the list of custom prompts in README.md (#1400) --- packages/prompts/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/packages/prompts/README.md b/packages/prompts/README.md index 6d15d6683..8c1adc050 100644 --- a/packages/prompts/README.md +++ b/packages/prompts/README.md @@ -301,6 +301,16 @@ Confirm with a toggle. Select a choice with arrow keys + Enter. ? Do you want to continue? no / yes ``` +[**Sortable Checkbox Prompt**](https://github.com/th0r/inquirer-sortable-checkbox)
+The same as built-in checkbox prompt, but also allowing to reorder choices using ctrl+up/down. + +``` +? Which PRs and in what order would you like to merge? (Press to select, to toggle all, to invert selection, to move item up, to move item down, and to proceed) +❯ ◯ PR 1 + ◯ PR 2 + ◯ PR 3 +``` + # License Copyright (c) 2023 Simon Boudrias (twitter: [@vaxilart](https://twitter.com/Vaxilart))