title: Bash script to list all repos of an organization
body: <p>I am trying to create as simple bash script to list all the repos in our organization on github.  Seems like it shouldn't be that hard, so I am sure I am missing something obvious.  Various examples are around, e.g. <a href="https://gist.github.com/ralphbean/5733076" rel="nofollow noreferrer">1</a> but they don't really work.  I have tried</p>
  
  <pre><code>curl --user "$USER:$PASS" https://api.github.com/orgs/$ORG/repos
  </code></pre>
  
  <p>where USER and PASS are valid usernames and password and ORG is <a href="https://github.com/readium" rel="nofollow noreferrer">https://github.com/readium</a>.  </p>
  
  <p>But this doesn't work. I just get "message" : "Not Found"</p>
  
  <p>I've tried many variations on this following various threads here and elsewhere but no soap.  Suggestions?</p>