README.md in chef-cooker-0.0.2 vs README.md in chef-cooker-0.0.3
- old
+ new
@@ -1,8 +1,8 @@
-# Chef::Cooker
+# chef-cooker
-A tiny knife(chef-solo) wrapper.
+chef-cooker will be able to create cookbook of Chef easily. yay ;)
## Installation
Add this line to your application's Gemfile:
@@ -16,10 +16,31 @@
$ gem install chef-cooker
## Usage
-TODO: Write usage instructions here
+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`)