I use this in my .zshrc to create Bitbucket repos on the fly:
function bitbucket() { curl -X POST -u masnick:`security 2>&1 >/dev/null find-internet-password -gs masnick.bitbucket.org | cut -d '"' -f 2` https://api.bitbucket.org/1.0/repositories/ -d name=$@ -d scm=git -d is_private=True };
I use this in my .zshrc to create Bitbucket repos on the fly:
(Running "bitbucket newrepo" will create a new repo in my Bitbucket acct called "newrepo".)