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

Customize the starting prompt #39

Closed
codTango opened this issue Sep 28, 2016 · 3 comments
Closed

Customize the starting prompt #39

codTango opened this issue Sep 28, 2016 · 3 comments

Comments

@codTango
Copy link

The starting prompt says: "[PLOP] Please choose a generator. (Use arrow keys)" each time when I run plop, is it possible to customize it to some other message?

@amwmedia
Copy link
Member

amwmedia commented Oct 4, 2016

I'm probably going to make some changes to how "[PLOP]" shows up throughout the process. I'll need to look at whether it's possible to also add a way to customize this initial message as well. Right now I don't think it's possible (as things are today)

@nicoespeon
Copy link
Collaborator

Hey!

Is that something we still want to do?

If so, I was thinking of a plop.setStartingPrompt(message) that could be called in plopfile to change the message. But I'd like your feeling on it: does it worth it?

If it does, I've got a quite clear idea about required changes, so it can be done pretty soon (as things are today 😉).

@amwmedia
Copy link
Member

yeah, that'd be great 👍. I've been meaning to get to some of these types of low-hanging-fruit tickets for a while but always seem to get consumed by things that are large... or look small but end up being large haha

@nicoespeon nicoespeon self-assigned this Aug 25, 2017
cspotcode pushed a commit to cspotcode/plop that referenced this issue Mar 20, 2020
Add setStartingPrompt() and getStartingPrompt()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants