gruntjs / gruntjs/grunt

Get queued task list

Open
#1,256 6 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12.2k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

The possibility to easily retrieve the list of task names in the queue.

Something like this:

``` js
grunt.registerTask('default', ['jscs:all', 'jshint']);

// When running `grunt`
grunt.task.queue; // ['jscs:all', 'jshint']

// When running `grunt default`
grunt.task.queue; // ['jscs:all', 'jshint']

// When running `grunt jshint`
grunt.task.queue; // ['jshint']

// When running `grunt jshint:all`
grunt.task.queue; // ['jshint:all']
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.