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.category

Explicitly set the category for the current command to +new_category+
The category is normally determined from the first word of the command
name, but some commands make more sense using two or more words
===Arguments
new_category::: A String to set the category to (see examples)
===Examples:
Data bag commands would be in the 'data' category by default. To put them
in the 'data bag' category:
  category('data bag')

Source | Google | Stack overflow

Edit

git clone [email protected]:opscode/chef.git

cd chef

open knife/lib/chef/knife.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Chef--Knife-category-for-pr


# Commit to git

git add knife/lib/chef/knife.rbgit commit -m "better docs for Chef::Knife.category"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Chef--Knife-category-for-pr

hub pull-request


# Celebrate!