Method for passing arguments in alias tasks
Open
Component: tasks
needs discussion
Type: Enhancement
- Dominant language
- JavaScript
- Stars
- 12.2k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
Instead of this being dumb:
``` js
grunt.registerTask('foo', ['bar', 'baz'])
```
Maybe it can be made smarter re. arguments passing:
``` js
grunt.registerTask('foo', ['bar:$1:$2', 'baz:$*']) // etc
```
Or something. Man, doing this on an iPhone sucks.
Contributor guide
Research direction
The issue names the registerTask API but no files or tests. Start by locating its implementation and current alias-task argument handling, then define the forwarding syntax and semantics before changing anything. Done means positional and all-argument forwarding behavior is specified and verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100