List grunt.js tasks

Solution 1:

grunt --help lists available tasks.

Solution 2:

Workaround for the list in sh/bash in case you need to trigger something and can't modify the original code:

grunt -h --no-color | sed -n '/^Available tasks/,/^$/ {s/^  *\([^ ]\+\)  [^ ]\+.*$/\1/p}'