Skip to main content

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'

Download files

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

Source Distribution

b2tool-0.0.4.tar.gz (4.3 kB view details)

Uploaded Source

File details

Details for the file b2tool-0.0.4.tar.gz.

File metadata

  • Download URL: b2tool-0.0.4.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for b2tool-0.0.4.tar.gz
Algorithm Hash digest
SHA256 c05da84e2ffb8b34a2de85d6e645ece92ac06081bb10c56aacbfa06d98394455
MD5 5b7bb7ce29902ea6aecbae696758403e
BLAKE2b-256 48c0d2b8e44682dfd0a567feac904474406737c066fd1d9479465e1fc93e1c97

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.4 This release

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page