bombshell-dev / clack

Effortlessly build beautiful command-line apps
https://clack.cc
5.53k stars 90 forks source link

[Request] `Select` or `Multi-Select` provide `disable` option in `@clack/prompts` #184

Open zyyv opened 9 months ago

zyyv commented 9 months ago

As the title suggests, is it possible to provide a disable props in the options so that we can skip selecting it when we select it.

{
    value: 'value',
    label: 'label',
+   disabel: true
}

I want to show it when disabled without filtering it out.