chef
https://github.com/opscode/chef
Ruby
A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
Chef::Knife::Core::StatusPresenter#summarize
Converts a Chef::Node object to a string suitable for output to a terminal. If config[:medium_output] or config[:long_output] are set the volume of output is adjusted accordingly. Uses colors if enabled in the ui object.
Edit
git clone [email protected]:opscode/chef.git
cd chef
open knife/lib/chef/knife/core/status_presenter.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Chef--Knife--Core--StatusPresenter-summarize-for-pr
# Commit to gitgit add knife/lib/chef/knife/core/status_presenter.rbgit commit -m "better docs for Chef::Knife::Core::StatusPresenter#summarize"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Chef--Knife--Core--StatusPresenter-summarize-for-pr
hub pull-request
# Celebrate!