You can use `type: 'confirm'` in inquirer to achieve this.