I\'m trying to work out how to print a list of all available grunt tasks. With rake it would be:
$ rake -T
What\'s the equivalent for grunt? e.g.
grunt --help lists available tasks.
grunt --help
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}'