title: Difference between 'knife cookbook create' and 'chef generate cookbook'?
body: <p>I'm struggling with the chef learning curve. What is the difference between these two commands, and why are there two of them ?</p>
  
  <p><a href="https://docs.chef.io/knife_cookbook.html"><strong>knife cookbook</strong></a>: <em>The knife cookbook subcommand is used to interact with cookbooks that are located on the Chef server or the local chef-repo.</em></p>
  
  <pre><code>$ knife cookbook create a_knife_cookbook
  $ ls -a
    CHANGELOG.md 
    README.md    
    attributes
    definitions
    files
    libraries
    metadata.rb
    providers
    recipes
    resources
    templates
  </code></pre>
  
  <p><a href="https://docs.chef.io/ctl_chef.html"><strong>chef generate cookbook</strong></a>: <em>The chef generate cookbook subcommand is used to generate a cookbook.</em></p>
  
  <pre><code>$ chef generate cookbook a_chef_cookbook
  $ ls -a
    .gitignore
    .kitchen.yml
    Berksfile
    README.md
    chefignore
    metadata.rb
    recipes
    spec
    test
  </code></pre>