Skip to content

List tasks as json #107

@segrey

Description

@segrey

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. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions