bitbucketdc-cli 0.0.7 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3 @@
1
+ import { Command } from 'commander';
2
+ export declare function canMerge(parent: Command): void;
3
+ //# sourceMappingURL=can-merge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"can-merge.d.ts","sourceRoot":"","sources":["../../../src/commands/pr/can-merge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIpC,wBAAgB,QAAQ,CAAC,MAAM,EAAE,OAAO,QAqBvC"}
@@ -0,0 +1,26 @@
1
+ import { getClient } from '../../utils/client.js';
2
+ import { output, handleError } from '../../utils/output.js';
3
+ export function canMerge(parent) {
4
+ parent
5
+ .command('can-merge')
6
+ .description('Check if a pull request can be merged')
7
+ .requiredOption('--project <key>', 'Bitbucket project key')
8
+ .requiredOption('--repo <slug>', 'Repository slug')
9
+ .requiredOption('--id <n>', 'Pull request ID', parseInt)
10
+ .addHelpText('after', '\nExamples:\n bitbucketdc pr can-merge --project PROJ --repo my-repo --id 42')
11
+ .action(async (opts) => {
12
+ try {
13
+ const client = getClient();
14
+ const result = await client.pullRequests.canMerge({
15
+ projectKey: opts.project,
16
+ repositorySlug: opts.repo,
17
+ pullRequestId: opts.id,
18
+ });
19
+ output(result);
20
+ }
21
+ catch (err) {
22
+ handleError(err);
23
+ }
24
+ });
25
+ }
26
+ //# sourceMappingURL=can-merge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"can-merge.js","sourceRoot":"","sources":["../../../src/commands/pr/can-merge.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,UAAU,QAAQ,CAAC,MAAe;IACtC,MAAM;SACH,OAAO,CAAC,WAAW,CAAC;SACpB,WAAW,CAAC,uCAAuC,CAAC;SACpD,cAAc,CAAC,iBAAiB,EAAE,uBAAuB,CAAC;SAC1D,cAAc,CAAC,eAAe,EAAE,iBAAiB,CAAC;SAClD,cAAc,CAAC,UAAU,EAAE,iBAAiB,EAAE,QAAQ,CAAC;SACvD,WAAW,CAAC,OAAO,EAAE,+EAA+E,CAAC;SACrG,MAAM,CAAC,KAAK,EAAE,IAAmD,EAAE,EAAE;QACpE,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;YAC3B,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,QAAQ,CAAC;gBAChD,UAAU,EAAE,IAAI,CAAC,OAAO;gBACxB,cAAc,EAAE,IAAI,CAAC,IAAI;gBACzB,aAAa,EAAE,IAAI,CAAC,EAAE;aACvB,CAAC,CAAC;YACH,MAAM,CAAC,MAAM,CAAC,CAAC;QACjB,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,WAAW,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;IACH,CAAC,CAAC,CAAC;AACP,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Command } from 'commander';
2
+ export declare function decline(parent: Command): void;
3
+ //# sourceMappingURL=decline.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"decline.d.ts","sourceRoot":"","sources":["../../../src/commands/pr/decline.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIpC,wBAAgB,OAAO,CAAC,MAAM,EAAE,OAAO,QAqBtC"}
@@ -0,0 +1,26 @@
1
+ import { getClient } from '../../utils/client.js';
2
+ import { output, handleError } from '../../utils/output.js';
3
+ export function decline(parent) {
4
+ parent
5
+ .command('decline')
6
+ .description('Decline a pull request')
7
+ .requiredOption('--project <key>', 'Bitbucket project key')
8
+ .requiredOption('--repo <slug>', 'Repository slug')
9
+ .requiredOption('--id <n>', 'Pull request ID', parseInt)
10
+ .addHelpText('after', '\nExamples:\n bitbucketdc pr decline --project PROJ --repo my-repo --id 42')
11
+ .action(async (opts) => {
12
+ try {
13
+ const client = getClient();
14
+ const result = await client.pullRequests.decline({
15
+ projectKey: opts.project,
16
+ repositorySlug: opts.repo,
17
+ pullRequestId: opts.id,
18
+ });
19
+ output(result);
20
+ }
21
+ catch (err) {
22
+ handleError(err);
23
+ }
24
+ });
25
+ }
26
+ //# sourceMappingURL=decline.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"decline.js","sourceRoot":"","sources":["../../../src/commands/pr/decline.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,UAAU,OAAO,CAAC,MAAe;IACrC,MAAM;SACH,OAAO,CAAC,SAAS,CAAC;SAClB,WAAW,CAAC,wBAAwB,CAAC;SACrC,cAAc,CAAC,iBAAiB,EAAE,uBAAuB,CAAC;SAC1D,cAAc,CAAC,eAAe,EAAE,iBAAiB,CAAC;SAClD,cAAc,CAAC,UAAU,EAAE,iBAAiB,EAAE,QAAQ,CAAC;SACvD,WAAW,CAAC,OAAO,EAAE,6EAA6E,CAAC;SACnG,MAAM,CAAC,KAAK,EAAE,IAAmD,EAAE,EAAE;QACpE,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;YAC3B,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,OAAO,CAAC;gBAC/C,UAAU,EAAE,IAAI,CAAC,OAAO;gBACxB,cAAc,EAAE,IAAI,CAAC,IAAI;gBACzB,aAAa,EAAE,IAAI,CAAC,EAAE;aACvB,CAAC,CAAC;YACH,MAAM,CAAC,MAAM,CAAC,CAAC;QACjB,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,WAAW,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;IACH,CAAC,CAAC,CAAC;AACP,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"delete-comment.d.ts","sourceRoot":"","sources":["../../../src/commands/pr/delete-comment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIpC,wBAAgB,aAAa,CAAC,MAAM,EAAE,OAAO,QA2C5C"}
1
+ {"version":3,"file":"delete-comment.d.ts","sourceRoot":"","sources":["../../../src/commands/pr/delete-comment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIpC,wBAAgB,aAAa,CAAC,MAAM,EAAE,OAAO,QAoC5C"}
@@ -3,35 +3,28 @@ import { output, handleError } from '../../utils/output.js';
3
3
  export function deleteComment(parent) {
4
4
  parent
5
5
  .command('delete-comment')
6
- .description('Delete a pull request comment. Version is auto-fetched if not provided.')
6
+ .description('Delete a pull request comment')
7
7
  .requiredOption('--project <key>', 'Bitbucket project key')
8
8
  .requiredOption('--repo <slug>', 'Repository slug')
9
9
  .requiredOption('--id <n>', 'Pull request ID', parseInt)
10
10
  .requiredOption('--comment-id <n>', 'Comment ID to delete', parseInt)
11
- .option('--comment-version <n>', 'Comment version for optimistic locking (auto-fetched if omitted)', parseInt)
12
- .addHelpText('after', `\nExamples:
13
- bitbucketdc pr delete-comment --project PROJ --repo my-repo --id 42 --comment-id 123
14
- bitbucketdc pr delete-comment --project PROJ --repo my-repo --id 42 --comment-id 123 --comment-version 0`)
11
+ .addHelpText('after', '\nExamples:\n bitbucketdc pr delete-comment --project PROJ --repo my-repo --id 42 --comment-id 123')
15
12
  .action(async (opts) => {
16
13
  try {
17
14
  const client = getClient();
18
- // Auto-fetch version if not provided
19
- let version = opts.commentVersion;
20
- if (version === undefined) {
21
- const comment = await client.pullRequests.getComment({
22
- projectKey: opts.project,
23
- repositorySlug: opts.repo,
24
- pullRequestId: opts.id,
25
- commentId: opts.commentId,
26
- });
27
- version = comment.version;
28
- }
15
+ // Fetch current version for optimistic locking — agents shouldn't need to track this
16
+ const comment = await client.pullRequests.getComment({
17
+ projectKey: opts.project,
18
+ repositorySlug: opts.repo,
19
+ pullRequestId: opts.id,
20
+ commentId: opts.commentId,
21
+ });
29
22
  await client.pullRequests.deleteComment({
30
23
  projectKey: opts.project,
31
24
  repositorySlug: opts.repo,
32
25
  pullRequestId: opts.id,
33
26
  commentId: opts.commentId,
34
- version,
27
+ version: comment.version,
35
28
  });
36
29
  output({ deleted: true, commentId: opts.commentId });
37
30
  }
@@ -1 +1 @@
1
- {"version":3,"file":"delete-comment.js","sourceRoot":"","sources":["../../../src/commands/pr/delete-comment.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,UAAU,aAAa,CAAC,MAAe;IAC3C,MAAM;SACH,OAAO,CAAC,gBAAgB,CAAC;SACzB,WAAW,CAAC,yEAAyE,CAAC;SACtF,cAAc,CAAC,iBAAiB,EAAE,uBAAuB,CAAC;SAC1D,cAAc,CAAC,eAAe,EAAE,iBAAiB,CAAC;SAClD,cAAc,CAAC,UAAU,EAAE,iBAAiB,EAAE,QAAQ,CAAC;SACvD,cAAc,CAAC,kBAAkB,EAAE,sBAAsB,EAAE,QAAQ,CAAC;SACpE,MAAM,CAAC,uBAAuB,EAAE,kEAAkE,EAAE,QAAQ,CAAC;SAC7G,WAAW,CACV,OAAO,EACP;;2GAEqG,CACtG;SACA,MAAM,CAAC,KAAK,EAAE,IAA+F,EAAE,EAAE;QAChH,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;YAE3B,qCAAqC;YACrC,IAAI,OAAO,GAAG,IAAI,CAAC,cAAc,CAAC;YAClC,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;gBAC1B,MAAM,OAAO,GAAG,MAAM,MAAM,CAAC,YAAY,CA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,qGAAqG,CACtG;SACA,MAAM,CAAC,KAAK,EAAE,IAAsE,EAAE,EAAE;QACvF,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;YAE3B,qFAAqF;YACrF,MAAM,OAAO,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,UAAU,CAAC;gBACnD,UAAU,EAAE,IAAI,CAAC,OAAO;gBACxB,cAAc,EAAE,IAAI,CAAC,IAAI;gBACzB,aAAa,EAAE,IAAI,CAAC,EAAE;gBACtB,SAAS,EAAE,IAAI,CAAC,SAAS;aAC1B,CAAC,CAAC;YAEH,MAAM,MAAM,CAAC,YAAY,CAAC,aAAa,CAAC;gBACtC,UAAU,EAAE,IAAI,CAAC,OAAO;gBACxB,cAAc,EAAE,IAAI,CAAC,IAAI;gBACzB,aAAa,EAAE,IAAI,CAAC,EAAE;gBACtB,SAAS,EAAE,IAAI,CAAC,SAAS;gBACzB,OAAO,EAAE,OAAO,CAAC,OAAO;aACzB,CAAC,CAAC;YACH,MAAM,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC;QACvD,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,WAAW,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;IACH,CAAC,CAAC,CAAC;AACP,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Command } from 'commander';
2
+ export declare function deletePr(parent: Command): void;
3
+ //# sourceMappingURL=delete.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../src/commands/pr/delete.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIpC,wBAAgB,QAAQ,CAAC,MAAM,EAAE,OAAO,QAqBvC"}
@@ -0,0 +1,26 @@
1
+ import { getClient } from '../../utils/client.js';
2
+ import { output, handleError } from '../../utils/output.js';
3
+ export function deletePr(parent) {
4
+ parent
5
+ .command('delete')
6
+ .description('Delete a pull request')
7
+ .requiredOption('--project <key>', 'Bitbucket project key')
8
+ .requiredOption('--repo <slug>', 'Repository slug')
9
+ .requiredOption('--id <n>', 'Pull request ID', parseInt)
10
+ .addHelpText('after', '\nExamples:\n bitbucketdc pr delete --project PROJ --repo my-repo --id 42')
11
+ .action(async (opts) => {
12
+ try {
13
+ const client = getClient();
14
+ await client.pullRequests.deletePullRequest({
15
+ projectKey: opts.project,
16
+ repositorySlug: opts.repo,
17
+ pullRequestId: opts.id,
18
+ });
19
+ output({ deleted: true, pullRequestId: opts.id });
20
+ }
21
+ catch (err) {
22
+ handleError(err);
23
+ }
24
+ });
25
+ }
26
+ //# sourceMappingURL=delete.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete.js","sourceRoot":"","sources":["../../../src/commands/pr/delete.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,UAAU,QAAQ,CAAC,MAAe;IACtC,MAAM;SACH,OAAO,CAAC,QAAQ,CAAC;SACjB,WAAW,CAAC,uBAAuB,CAAC;SACpC,cAAc,CAAC,iBAAiB,EAAE,uBAAuB,CAAC;SAC1D,cAAc,CAAC,eAAe,EAAE,iBAAiB,CAAC;SAClD,cAAc,CAAC,UAAU,EAAE,iBAAiB,EAAE,QAAQ,CAAC;SACvD,WAAW,CAAC,OAAO,EAAE,4EAA4E,CAAC;SAClG,MAAM,CAAC,KAAK,EAAE,IAAmD,EAAE,EAAE;QACpE,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;YAC3B,MAAM,MAAM,CAAC,YAAY,CAAC,iBAAiB,CAAC;gBAC1C,UAAU,EAAE,IAAI,CAAC,OAAO;gBACxB,cAAc,EAAE,IAAI,CAAC,IAAI;gBACzB,aAAa,EAAE,IAAI,CAAC,EAAE;aACvB,CAAC,CAAC;YACH,MAAM,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,CAAC;QACpD,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,WAAW,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;IACH,CAAC,CAAC,CAAC;AACP,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"edit-comment.d.ts","sourceRoot":"","sources":["../../../src/commands/pr/edit-comment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIpC,wBAAgB,WAAW,CAAC,MAAM,EAAE,OAAO,QAsD1C"}
1
+ {"version":3,"file":"edit-comment.d.ts","sourceRoot":"","sources":["../../../src/commands/pr/edit-comment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIpC,wBAAgB,WAAW,CAAC,MAAM,EAAE,OAAO,QAsC1C"}
@@ -3,37 +3,30 @@ import { output, handleError } from '../../utils/output.js';
3
3
  export function editComment(parent) {
4
4
  parent
5
5
  .command('edit-comment')
6
- .description('Edit a pull request comment. Version is auto-fetched if not provided.')
6
+ .description('Edit a pull request comment')
7
7
  .requiredOption('--project <key>', 'Bitbucket project key')
8
8
  .requiredOption('--repo <slug>', 'Repository slug')
9
9
  .requiredOption('--id <n>', 'Pull request ID', parseInt)
10
10
  .requiredOption('--comment-id <n>', 'Comment ID to edit', parseInt)
11
11
  .requiredOption('--text <content>', 'New comment text')
12
- .option('--comment-version <n>', 'Comment version for optimistic locking (auto-fetched if omitted)', parseInt)
13
- .addHelpText('after', `\nExamples:
14
- bitbucketdc pr edit-comment --project PROJ --repo my-repo --id 42 --comment-id 123 --text "Updated text"
15
- bitbucketdc pr edit-comment --project PROJ --repo my-repo --id 42 --comment-id 123 --text "Updated" --comment-version 0`)
12
+ .addHelpText('after', '\nExamples:\n bitbucketdc pr edit-comment --project PROJ --repo my-repo --id 42 --comment-id 123 --text "Updated text"')
16
13
  .action(async (opts) => {
17
14
  try {
18
15
  const client = getClient();
19
- // Auto-fetch version if not provided
20
- let version = opts.commentVersion;
21
- if (version === undefined) {
22
- const comment = await client.pullRequests.getComment({
23
- projectKey: opts.project,
24
- repositorySlug: opts.repo,
25
- pullRequestId: opts.id,
26
- commentId: opts.commentId,
27
- });
28
- version = comment.version;
29
- }
16
+ // Fetch current version for optimistic locking — agents shouldn't need to track this
17
+ const comment = await client.pullRequests.getComment({
18
+ projectKey: opts.project,
19
+ repositorySlug: opts.repo,
20
+ pullRequestId: opts.id,
21
+ commentId: opts.commentId,
22
+ });
30
23
  const result = await client.pullRequests.editComment({
31
24
  projectKey: opts.project,
32
25
  repositorySlug: opts.repo,
33
26
  pullRequestId: opts.id,
34
27
  commentId: opts.commentId,
35
28
  text: opts.text,
36
- version,
29
+ version: comment.version,
37
30
  });
38
31
  output(result);
39
32
  }
@@ -1 +1 @@
1
- {"version":3,"file":"edit-comment.js","sourceRoot":"","sources":["../../../src/commands/pr/edit-comment.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,UAAU,WAAW,CAAC,MAAe;IACzC,MAAM;SACH,OAAO,CAAC,cAAc,CAAC;SACvB,WAAW,CAAC,uEAAuE,CAAC;SACpF,cAAc,CAAC,iBAAiB,EAAE,uBAAuB,CAAC;SAC1D,cAAc,CAAC,eAAe,EAAE,iBAAiB,CAAC;SAClD,cAAc,CAAC,UAAU,EAAE,iBAAiB,EAAE,QAAQ,CAAC;SACvD,cAAc,CAAC,kBAAkB,EAAE,oBAAoB,EAAE,QAAQ,CAAC;SAClE,cAAc,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;SACtD,MAAM,CAAC,uBAAuB,EAAE,kEAAkE,EAAE,QAAQ,CA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":"","sources":["../../../src/commands/pr/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAiBpC,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,OAAO,QAgClD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/pr/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAsBpC,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,OAAO,QA0ClD"}
@@ -1,8 +1,11 @@
1
1
  import { activities } from './activities.js';
2
+ import { canMerge } from './can-merge.js';
2
3
  import { changes } from './changes.js';
3
4
  import { comment } from './comment.js';
4
5
  import { create } from './create.js';
6
+ import { decline } from './decline.js';
5
7
  import { deleteComment } from './delete-comment.js';
8
+ import { deletePr } from './delete.js';
6
9
  import { diff } from './diff.js';
7
10
  import { editComment } from './edit-comment.js';
8
11
  import { fileComment } from './file-comment.js';
@@ -10,9 +13,11 @@ import { fileDiff } from './file-diff.js';
10
13
  import { get } from './get.js';
11
14
  import { inbox } from './inbox.js';
12
15
  import { lineComment } from './line-comment.js';
16
+ import { merge } from './merge.js';
13
17
  import { reactionAdd } from './reaction-add.js';
14
18
  import { reactionRemove } from './reaction-remove.js';
15
19
  import { review } from './review.js';
20
+ import { update } from './update.js';
16
21
  export function registerPrCommands(program) {
17
22
  const pr = program
18
23
  .command('pr')
@@ -26,6 +31,11 @@ Examples:
26
31
  $ bitbucketdc pr create --project PROJ --repo my-repo --from feature-x --to main --title "Add feature"
27
32
  $ bitbucketdc pr comment --project PROJ --repo my-repo --id 42 --text "Looks good!"
28
33
  $ bitbucketdc pr review --project PROJ --repo my-repo --id 42 --status APPROVED
34
+ $ bitbucketdc pr update --project PROJ --repo my-repo --id 42 --title "New title"
35
+ $ bitbucketdc pr can-merge --project PROJ --repo my-repo --id 42
36
+ $ bitbucketdc pr merge --project PROJ --repo my-repo --id 42
37
+ $ bitbucketdc pr decline --project PROJ --repo my-repo --id 42
38
+ $ bitbucketdc pr delete --project PROJ --repo my-repo --id 42
29
39
  `);
30
40
  inbox(pr);
31
41
  get(pr);
@@ -42,5 +52,10 @@ Examples:
42
52
  reactionAdd(pr);
43
53
  reactionRemove(pr);
44
54
  review(pr);
55
+ update(pr);
56
+ canMerge(pr);
57
+ merge(pr);
58
+ decline(pr);
59
+ deletePr(pr);
45
60
  }
46
61
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/commands/pr/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,MAAM,UAAU,kBAAkB,CAAC,OAAgB;IACjD,MAAM,EAAE,GAAG,OAAO;SACf,OAAO,CAAC,IAAI,CAAC;SACb,WAAW,CAAC,y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AC,CAAC;IACb,KAAK,CAAC,EAAE,CAAC,CAAC;IACV,OAAO,CAAC,EAAE,CAAC,CAAC;IACZ,QAAQ,CAAC,EAAE,CAAC,CAAC;AACf,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Command } from 'commander';
2
+ export declare function merge(parent: Command): void;
3
+ //# sourceMappingURL=merge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"merge.d.ts","sourceRoot":"","sources":["../../../src/commands/pr/merge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIpC,wBAAgB,KAAK,CAAC,MAAM,EAAE,OAAO,QA+BpC"}
@@ -0,0 +1,33 @@
1
+ import { getClient } from '../../utils/client.js';
2
+ import { output, handleError } from '../../utils/output.js';
3
+ export function merge(parent) {
4
+ parent
5
+ .command('merge')
6
+ .description('Merge a pull request')
7
+ .requiredOption('--project <key>', 'Bitbucket project key')
8
+ .requiredOption('--repo <slug>', 'Repository slug')
9
+ .requiredOption('--id <n>', 'Pull request ID', parseInt)
10
+ .option('--strategy <id>', 'Merge strategy (e.g., squash, no-ff, ff, ff-only, rebase-no-ff, rebase-ff-only)')
11
+ .option('--message <text>', 'Custom merge commit message')
12
+ .addHelpText('after', `\nExamples:
13
+ bitbucketdc pr merge --project PROJ --repo my-repo --id 42
14
+ bitbucketdc pr merge --project PROJ --repo my-repo --id 42 --strategy squash
15
+ bitbucketdc pr merge --project PROJ --repo my-repo --id 42 --message "Merge feature X"`)
16
+ .action(async (opts) => {
17
+ try {
18
+ const client = getClient();
19
+ const result = await client.pullRequests.merge({
20
+ projectKey: opts.project,
21
+ repositorySlug: opts.repo,
22
+ pullRequestId: opts.id,
23
+ strategyId: opts.strategy,
24
+ message: opts.message,
25
+ });
26
+ output(result);
27
+ }
28
+ catch (err) {
29
+ handleError(err);
30
+ }
31
+ });
32
+ }
33
+ //# sourceMappingURL=merge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"merge.js","sourceRoot":"","sources":["../../../src/commands/pr/merge.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,UAAU,KAAK,CAAC,MAAe;IACnC,MAAM;SACH,OAAO,CAAC,OAAO,CAAC;SAChB,WAAW,CAAC,sBAAsB,CAAC;SACnC,cAAc,CAAC,iBAAiB,EAAE,uBAAuB,CAAC;SAC1D,cAAc,CAAC,eAAe,EAAE,iBAAiB,CAAC;SAClD,cAAc,CAAC,UAAU,EAAE,iBAAiB,EAAE,QAAQ,CAAC;SACvD,MAAM,CAAC,iBAAiB,EAAE,iFAAiF,CAAC;SAC5G,MAAM,CAAC,kBAAkB,EAAE,6BAA6B,CAAC;SACzD,WAAW,CACV,OAAO,EACP;;;yFAGmF,CACpF;SACA,MAAM,CAAC,KAAK,EAAE,IAAwF,EAAE,EAAE;QACzG,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;YAC3B,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC;gBAC7C,UAAU,EAAE,IAAI,CAAC,OAAO;gBACxB,cAAc,EAAE,IAAI,CAAC,IAAI;gBACzB,aAAa,EAAE,IAAI,CAAC,EAAE;gBACtB,UAAU,EAAE,IAAI,CAAC,QAAQ;gBACzB,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,CAAC,CAAC;YACH,MAAM,CAAC,MAAM,CAAC,CAAC;QACjB,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,WAAW,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;IACH,CAAC,CAAC,CAAC;AACP,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Command } from 'commander';
2
+ export declare function update(parent: Command): void;
3
+ //# sourceMappingURL=update.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../src/commands/pr/update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIpC,wBAAgB,MAAM,CAAC,MAAM,EAAE,OAAO,QAsCrC"}
@@ -0,0 +1,37 @@
1
+ import { getClient } from '../../utils/client.js';
2
+ import { output, handleError } from '../../utils/output.js';
3
+ export function update(parent) {
4
+ parent
5
+ .command('update')
6
+ .description('Update a pull request title and/or description')
7
+ .requiredOption('--project <key>', 'Bitbucket project key')
8
+ .requiredOption('--repo <slug>', 'Repository slug')
9
+ .requiredOption('--id <n>', 'Pull request ID', parseInt)
10
+ .option('--title <title>', 'New pull request title')
11
+ .option('--description <text>', 'New pull request description')
12
+ .addHelpText('after', `\nExamples:
13
+ bitbucketdc pr update --project PROJ --repo my-repo --id 42 --title "New title"
14
+ bitbucketdc pr update --project PROJ --repo my-repo --id 42 --description "Updated description"
15
+ bitbucketdc pr update --project PROJ --repo my-repo --id 42 --title "New" --description "Both"`)
16
+ .action(async (opts) => {
17
+ try {
18
+ if (!opts.title && !opts.description) {
19
+ process.stderr.write(`${JSON.stringify({ error: 'At least one of --title or --description is required' })}\n`);
20
+ process.exit(1);
21
+ }
22
+ const client = getClient();
23
+ const result = await client.pullRequests.update({
24
+ projectKey: opts.project,
25
+ repositorySlug: opts.repo,
26
+ pullRequestId: opts.id,
27
+ title: opts.title,
28
+ description: opts.description,
29
+ });
30
+ output(result);
31
+ }
32
+ catch (err) {
33
+ handleError(err);
34
+ }
35
+ });
36
+ }
37
+ //# sourceMappingURL=update.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.js","sourceRoot":"","sources":["../../../src/commands/pr/update.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,UAAU,MAAM,CAAC,MAAe;IACpC,MA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",
3
- "version": "0.0.7",
3
+ "version": "0.0.9",
4
4
  "publish": true,
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -13,7 +13,7 @@
13
13
  "dependencies": {
14
14
  "commander": "^13.1.0",
15
15
  "dotenv": "17.2.3",
16
- "bitbucket-data-center-client": "1.4.6"
16
+ "bitbucket-data-center-client": "1.4.8"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@types/node": "24.10.4",
@@ -21,8 +21,8 @@
21
21
  "tsx": "^4.19.2",
22
22
  "typescript": "^5.7.2",
23
23
  "vitest": "^4.0.16",
24
- "config-typescript": "0.0.0",
25
- "config-eslint": "0.0.0"
24
+ "config-eslint": "0.0.0",
25
+ "config-typescript": "0.0.0"
26
26
  },
27
27
  "engines": {
28
28
  "node": ">=22.0.0"