# chef-cooker chef-cooker will be able to create cookbook of Chef easily. yay ;) ## Installation Add this line to your application's Gemfile: gem 'chef-cooker' And then execute: $ bundle Or install it yourself as: $ gem install chef-cooker ## Usage Suppose if we want cookbook of `tree` chef-cooker does: 1. `knife cookbook create tree --cookbook-path cookbooks` 1. Add `package 'tree'` line to recipes/default.rb 1. Commit with Git. ``` $ chef-cooker tree WARNING: No knife configuration file found Do you want to append package to cookbooks/tree/recipes/default.rb? [y/N] : y append cookbooks/tree/recipes/default.rb Do you want to commit? [y/N] : y run git add cookbooks/tree from "." run git commit -m "Add tree" from "." [master a2469db] Add tree 3 files changed, 28 insertions(+) create mode 100644 cookbooks/tree/README.md create mode 100644 cookbooks/tree/metadata.rb create mode 100644 cookbooks/tree/recipes/default.rb ``` ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Added some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request