Controller Actions

Hi All,   How do I get all the actions & methods from a no. of controllers & export it into excel.

Thanks in Advance, Avantec

egrep -r '^ *?def ' /path/to/proj/app/controllers/ > methods_and_actions.csv