Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make "are you sure?" final prompt optional #238

Closed
paulirish opened this issue Jun 20, 2012 · 3 comments
Closed

make "are you sure?" final prompt optional #238

paulirish opened this issue Jun 20, 2012 · 3 comments
Milestone

Comments

@paulirish
Copy link
Contributor

In our app we're using grunt's prompt helper which is excellent, however the are you sure aspect really gets tiresome:

Can the we add a options.disablefinalprompt or something to bypass this guy?

    // Add one final "are you sure?" prompt.
    if (options.length > 0) {
      options.push({
        message: 'Do you need to make any changes to the above before continuing?'.green,
        name: 'ANSWERS_VALID',
        default: 'y/N'
      });
    }
@cowboy
Copy link
Member

cowboy commented Jun 20, 2012

I've just created issue #239 for 0.5 for rewriting the init task (check it out), but I'll see if I can get this change in for 0.4.

@cowboy
Copy link
Member

cowboy commented Sep 18, 2012

@paulirish is this something you still need?

@paulirish
Copy link
Contributor Author

Yes, I'd love to have this as a lot of time prompts can be structured in a way that the confirmation is just excessive.

Now that I think of it, in Yeoman we can instrument this to see what % of people report Y on these. Will be handy to know. Regardless, I think this should have an option to turn off, though my proposed name is pretty terrible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants