thor
https://github.com/rails/thor
Ruby
Thor is a toolkit for building powerful command-line interfaces.
Thor#build_command_tree
No Docs, write some!
Edit
git clone [email protected]:rails/thor.git
cd thor
open lib/thor.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Thor-build_command_tree-for-pr
# Commit to gitgit add lib/thor.rbgit commit -m "better docs for Thor#build_command_tree"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Thor-build_command_tree-for-pr
hub pull-request
# Celebrate!