Skip to content

Commit 9293a4e

Browse files
committed
Display how to select/unselect all at once
Really wish there was a button option like in the original PR laravel/prompts#147
1 parent 85f4ae6 commit 9293a4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/framework/src/Console/Commands/PublishViewsCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,6 @@ protected function promptForFiles(Collection $files, string $baseDir): array
155155
return [$source => Str::after($source, $baseDir.'/')];
156156
});
157157

158-
return multiselect('Select the files you want to publish', $choices, [], 10, 'required', hint: 'Navigate with arrow keys, space to select, enter to confirm.');
158+
return multiselect('Select the files you want to publish (CTRL+A to toggle all)', $choices, [], 10, 'required', hint: 'Navigate with arrow keys, space to select, enter to confirm.');
159159
}
160160
}

0 commit comments

Comments
 (0)