nomad/cupertino — pull request #74 by samsonasu (2013-10-07 16:26:59+00:00)
Title: Remove dependencies on Commander

First off, thanks so much for this library, it's been invaluable to our company.

This PR removes runtime dependencies on commander and enables programmatically setting the team so as to avoid the commander prompt. This was essential for us to completely automate actions for apple ids on multiple dev teams.

Also, it looks like the fix to https://github.com/nomad/cupertino/issues/68 which requires that we include the values of a cookie in the add device request didn't in fact get merged: that issues is resolved by this pull request as well.

Finally this includes one more fix that doesn't re-submit your login info if it's incorrect (I got my apple id locked by this once).

I apologize for the messy commit history, I meant to issue pull requests as we were making these changes but it looks like you weren't around for a while so it wasn't a priority. If you'd like me to squash some of these I can probably do that.