<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -153,8 +153,9 @@ flags :mdown =&gt; 'Create README.mdown'
 flags :textile =&gt; 'Create README.textile'
 flags :rdoc =&gt; 'Create README.rdoc'
 flags :rst =&gt; 'Create README.rst'
+flags :private =&gt; 'Create private repository'
 command :create do |repo|
-  sh &quot;curl -F 'repository[name]=#{repo}' -F 'login=#{github_user}' -F 'token=#{github_token}' http://github.com/repositories&quot;
+  sh &quot;curl -F 'repository[name]=#{repo}' -F 'repository[public]=#{!options[:private]}' -F 'login=#{github_user}' -F 'token=#{github_token}' http://github.com/repositories&quot;
   mkdir repo
   cd repo
   git &quot;init&quot;</diff>
      <filename>lib/commands/commands.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>17e380fdcc3bad5c75d57bafe45b677029790b35</id>
    </parent>
  </parents>
  <author>
    <name>Elijah Miller</name>
    <email>elijah.miller@gmail.com</email>
  </author>
  <url>http://github.com/defunkt/github-gem/commit/48dc599c80e20527ed902928085e7861e6b3cbe6</url>
  <id>48dc599c80e20527ed902928085e7861e6b3cbe6</id>
  <committed-date>2009-06-03T14:08:08-07:00</committed-date>
  <authored-date>2009-04-02T18:16:24-07:00</authored-date>
  <message>Add private repository option to create command.

Signed-off-by: Chris Wanstrath &lt;chris@ozmm.org&gt;</message>
  <tree>cdb38999bcf1eba69846002805b4154cf17e0322</tree>
  <committer>
    <name>Chris Wanstrath</name>
    <email>chris@ozmm.org</email>
  </committer>
</commit>
