KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a grunt task that looks at options with grunt.option('foo') . If I'm calling this task from grunt.task.run('my-task') , how can I change those arguments? I'm looking for something like: grunt.task.run('my-task', {foo: 'bar'}); which would be the equivalent of: $ grunt my-task --foo 'bar' Is this possible? ( This question is another issue I ran in to but is not exactly the same, because in this case I don't have access to the original task's Gruntfile.js.)
Tags (comma-separated)
Save Edits
Cancel