Rake tasks are easily listed from the command line with rake -T
. However if
you’ve written a rake task and neglected to provide a description for it with
the desc
as the first line, the task will not show up with the usual rake
-T
. These are essentially hidden rake tasks!
To display them, append -A
to your normal rake command; so:
rake -T -A
and hey presto, your hidden tasks are visible.