Modules@robinpath/bitbucket

@robinpath/bitbucket

0.1.1Public

Bitbucket module for RobinPath.

@robinpath/bitbucket

Bitbucket module for RobinPath.

Category Functions Auth License

Why use this module?

The bitbucket module lets you:

  • listRepositories
  • getRepository
  • createRepository
  • deleteRepository
  • listBranches

All functions are callable directly from RobinPath scripts with a simple, consistent API.

Installation

npm install @robinpath/bitbucket

Quick Start

1. Set up credentials

bitbucket.setCredentials "your-credentials"

2. listRepositories

bitbucket.listRepositories

Available Functions

FunctionDescription
bitbucket.setCredentialsConfigure bitbucket credentials.
bitbucket.listRepositorieslistRepositories
bitbucket.getRepositorygetRepository
bitbucket.createRepositorycreateRepository
bitbucket.deleteRepositorydeleteRepository
bitbucket.listBrancheslistBranches
bitbucket.createBranchcreateBranch
bitbucket.deleteBranchdeleteBranch
bitbucket.listPullRequestslistPullRequests
bitbucket.getPullRequestgetPullRequest
bitbucket.createPullRequestcreatePullRequest
bitbucket.updatePullRequestupdatePullRequest
bitbucket.mergePullRequestmergePullRequest
bitbucket.declinePullRequestdeclinePullRequest
bitbucket.listCommitslistCommits
bitbucket.listPipelineslistPipelines
bitbucket.getPipelinegetPipeline
bitbucket.triggerPipelinetriggerPipeline
bitbucket.listIssueslistIssues
bitbucket.createIssuecreateIssue
bitbucket.listWorkspaceslistWorkspaces
bitbucket.getWorkspacegetWorkspace
bitbucket.listWebhookslistWebhooks
bitbucket.getUsergetUser
bitbucket.listDeploymentslistDeployments

Examples

listRepositories

bitbucket.listRepositories

getRepository

bitbucket.getRepository

createRepository

bitbucket.createRepository

Integration with RobinPath

import { RobinPath } from "@wiredwp/robinpath";
import Module from "@robinpath/bitbucket";

const rp = new RobinPath();
rp.registerModule(Module.name, Module.functions);
rp.registerModuleMeta(Module.name, Module.functionMetadata);

const result = await rp.executeScript(`
  bitbucket.setCredentials "your-credentials"
  bitbucket.listRepositories
`);

Full API Reference

See MODULE.md for complete documentation including all parameters, return types, error handling, and advanced examples.

Related Modules

License

MIT

Versions (1)

VersionTagPublished
0.1.1latestyesterday
Install
$ robinpath install @robinpath/bitbucket
Version0.1.1
LicenseMIT
Unpacked Size5.1 KB
Versions1
Weekly Downloads0
Total Downloads0
Stars0
Last Publishyesterday
Createdyesterday

Category

devops