gruntjs / gruntjs/grunt-cli

List tasks as json

Open
#107 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
697
Forks
245
PR merge metrics
No merged PRs in 30d

Description

In order to list all available tasks with their dependencies, a custom task should be defined and registered via `--tasks` option. For instance, now WebStorm uses this [code](https://gist.github.com/segrey/6f94e188dab4605c5c10). Tasks are listed using this command:

```
grunt --gruntfile .../Gruntfile.js --tasks .../tasks _intellij_grunt_tasks_fetcher
```

It's not convenient to rely on internal Grunt API. Is it possible to add a new cli option that will output tasks with dependencies as json? Thanks.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.