magmax / python-inquirer

A collection of common interactive command line user interfaces, based on Inquirer.js (https://github.com/SBoudrias/Inquirer.js/)
MIT License
992 stars 98 forks source link

Possible to select all or none? #548

Closed Hetari closed 4 months ago

Hetari commented 4 months ago

When displaying a lengthy checkbox list, it would be advantageous to enable users to select all options, deselect all options, or invert their choices with a single keystroke (e.g., using 'a' for all, 'n' for none, and 'i' for invert).

I've encountered difficulties in finding any existing solutions or resources to implement this functionality.

Cube707 commented 4 months ago

https://github.com/magmax/python-inquirer/pull/275

Isn't this already implemented?

Hetari commented 4 months ago

Oh, my bad. Thanks for pointing me in the right direction!