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'

Release files for b2tool 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for b2tool 0.0.4
File Size Uploaded
b2tool-0.0.4.tar.gz 4.3 kB Details

Release files / b2tool-0.0.4.tar.gz

Download URL b2tool-0.0.4.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c05da84e2ffb8b34a2de85d6e645ece92ac06081bb10c56aacbfa06d98394455
BLAKE2b-256 checksum
How to use checksums
48c0d2b8e44682dfd0a567feac904474406737c066fd1d9479465e1fc93e1c97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.4 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page