grunt-prompt | Add interactive UI to your Gruntfile such as lists
kandi X-RAY | grunt-prompt Summary
kandi X-RAY | grunt-prompt Summary
In your project's Gruntfile, add a section named prompt to the data object passed into grunt.initConfig(). grunt-prompt is a multi-task. This means you can create multiple prompts.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Add a separator to the user .
grunt-prompt Key Features
grunt-prompt Examples and Code Snippets
Community Discussions
Trending Discussions on grunt-prompt
QUESTION
I'm new to Grunt but I'm trying to combine grunt-bump with grunt-prompt so that the user is prompted to enter a commit message which is then added to the commit.
I've based the code in my Gruntfile.js from this post but the prompt element isn't working. Any ideas what I'm doing wrong?
...ANSWER
Answered 2018-Apr-05 at 14:34You need to make a couple of changes to your Gruntfile.js
as shown in the following example (See comments 1 and 2):
Gruntfile.js
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install grunt-prompt
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page