2012-06-09 56 views

回答

0

由於我打字這一點,我注意到rake --help給出了兩個選項具有相同的描述:

-D, --describe [PATTERN]   Describe the tasks (matching optional PATTERN), then exit. 
-W, --where [PATTERN]   Describe the tasks (matching optional PATTERN), then exit. 

事實證明,rake -W <task>不輸出任務源的位置,儘管它看起來有點像它從堆棧軌跡中剔除。

這回答了第一個問題。有誰知道是否可以直接從命令行打印任務源?

相關問題