Skip to content

soliantconsulting/bitbucket-cloud-cli-auth

Repository files navigation

BitBucket Cloud CLI Auth

This project allows easy access token retrieval for BitBucket Cloud in CLI apps.

Installation

npm

npm i @soliantconsulting/bitbucket-cloud-cli-auth

pnpm

pnpm add @soliantconsulting/bitbucket-cloud-cli-auth

Usage

import { getAccessToken } from "@soliantconsulting/bitbucket-cloud-cli-auth";

const accessToken = await getAccessToken(clientId, port);