qrush / sub

a delicious way to organize programs
http://37signals.com/svn/posts/3264-automating-with-convention-introducing-sub
MIT License
1.74k stars 148 forks source link

BugFix for case when subcommand contains command name #47

Closed markstos closed 3 years ago

markstos commented 3 years ago

Before, this would fail to list commands which contain "sub-", like sub-sub-deploy.

The commands always include ${path} as evidenced by the line above, so including ${path} in the regex here is more precise.

qrush commented 3 years ago

Smart. Thank you!