-
Notifications
You must be signed in to change notification settings - Fork 331
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
Create App with interactive Menu #209
Conversation
Sorry for the messed up commits... |
name: 'projectType', | ||
message: 'Select a Project Type', | ||
choices: PROJECT_TYPES.map(type => { | ||
const displayName = type.replace('-', ' ').split(' ').map(x => x[0].toUpperCase() + x.slice(1)).join(' ') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should create a new constant for every projectType with a pretty name?
type: 'input', | ||
name: 'projectName', | ||
message: 'Enter a Project Name', | ||
filter: input => input.split(' ').join('-') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with that, its possible to create projects with spaces inside their names
@insin are you still interested in this interactive menu? |
Related: #208