PageRenderTime 41ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/README.md

https://bitbucket.org/kespindler/bitbucket-cli
Markdown | 51 lines | 33 code | 18 blank | 0 comment | 0 complexity | 7fd9013f791e0cd3fe06c5472865c1a3 MD5 | raw file
Possible License(s): BSD-3-Clause
  1. # BitBucket CLI
  2. A command-line helper for BitBucket. This program is inspired Chris Wanstrath's
  3. wonderful [github command-line program](https://github.com/defunkt/github-gem),
  4. and aims to expose a similar interface for BitBucket users.
  5. ## Usage
  6. bitbucket command [options]
  7. ## Available Commands
  8. clone username reponame
  9. pull username reponame
  10. create reponame
  11. create-from-local
  12. update username reponame
  13. delete username reponame
  14. ## Options
  15. -h, --help show this help message and exit
  16. -u USERNAME, --username=USERNAME your bitbucket username
  17. -p PASSWORD, --password=PASSWORD your bitbucket password
  18. -o, --public make this repo public
  19. -c, --private make this repo private
  20. -P PROTOCOL, --protocol=PROTOCOL which network protocol to use (https|ssh)
  21. ## Configuration
  22. You can create a configuration file in ~/.bitbucket that follows the following
  23. format
  24. [auth]
  25. username = <Your Username>
  26. password = <Your Password>
  27. [options]
  28. scm = <'git' or 'hg'>
  29. protocol = <'https' or 'ssh'>
  30. It will provide default options which can be overridden on the command line.
  31. For the `clone`, `pull`, and `create-from-local` commands, the scm will be
  32. detected from bitbucket or your local filesystem. Explicitly declaring the
  33. scm on the command line or from the user configuration will not override it.