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 -T
grunt.task.existsCheck with the name, if a task exists in the registered tasks.
Tasks are grunt's bread and butter. The stuff you do most often, like jshint or nodeunit . Every time Grunt is run, you specify one or more tasks to run, which tells Grunt what you'd like it to do. If you don't specify a task, but a task named "default" has been defined, that task will run (unsurprisingly) by default.
So task runners like Grunt and Gulp still have their place and we still use both here at Delicious Brains as build tools for different products we develop.
grunt --help
lists available tasks.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With