Hi, I have been trying to flip the boolean I receive from a confirm question and the filter doesn't seem to return the desired results
message: `Create a new folder for the ${componentType} and its dependent components?`,
name: 'flatFile',
type: 'confirm',
filter: (input: boolean) => {
return !input;
},
Even If i hardcode a boolean it will still return the answered value instead of the filtered value
confirm prompts don't have options for filter, validation or default value.
I wish they would allow that, not sure why they removed it from confirms.
I went on to create my own plugin inquirer-confirm-extra
Also I would be happy to send PR here if @SBoudrias or anyone from team is okay with it?
Most helpful comment
Also I would be happy to send PR here if @SBoudrias or anyone from team is okay with it?