Skip to main content

bbtool is a command line tool to manage BitBucket

Project description

bbtool is a command line tool to manage BitBucket

List of commands and –options

  • auth
    • login
      • –username
      • –password
  • pullrequest
    __required options for all__

    –owner Organization or account on Bitbucket

    –repo Repository to connect

    • listall

    • oldest

      –id True or False

      –branch True or False

    • accept

      –id Integer

      –message String

How to use

Commands

$ b2tool command options

Authenticate on bitbucket

$ b2tool auth login --username jesuejunior --password abc123

List all pull requests

$ b2tool pullrequest listall --owner jesuejunior --repo projectA

List oldest pull requests with ID and branch

$ b2tool pullrequest oldest --owner jesuejunior --repo projectA

Print only id of oldest pull requests

$ b2tool pullrequest oldest --owner jesuejunior --repo projectA  --id True

Print only branch of oldest pull requests

$ b2tool pullrequest oldest --owner jesuejunior --repo projectA  --branch True

Accept pull request with id 100

$ b2tool pullrequest accept --owner jesuejunior --repo projectA  --id 100 --message 'Accept this pull request ok'

Project details


Release history Release notifications

This version
History Node

0.0.4

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
b2tool-0.0.4.tar.gz (4.3 kB) Copy SHA256 hash SHA256 Source None Sep 5, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page