bbtool是用于管理bitbucket的命令行工具
b2tool的Python项目详细描述
bbtool是管理位桶的命令行工具
命令和–选项列表
- 验证
- 登录
- –用户名
- –密码
- 拉拽请求
- \u所有的必需选项
–bitbucket上的所有者{em1}$组织或帐户
–reporepository连接
- \u所有的必需选项
列表全部
最早的
–id true或false
–分支正确或错误
接受
–id整数
–消息字符串
如何使用
命令
对位桶进行身份验证 列出所有请求 列出具有id和branch的最旧请求 只打印最旧请求的ID 只打印最旧请求的分支 接受id为100的拉取请求$ b2tool command options
$ b2tool auth login --username jesuejunior --password abc123
$ b2tool pullrequest listall --owner jesuejunior --repo projectA
$ b2tool pullrequest oldest --owner jesuejunior --repo projectA
$ b2tool pullrequest oldest --owner jesuejunior --repo projectA --id True
$ b2tool pullrequest oldest --owner jesuejunior --repo projectA --branch True
$ b2tool pullrequest accept --owner jesuejunior --repo projectA --id 100 --message 'Accept this pull request ok'