@nulab/bee 1.1.0 → 1.1.2
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.
- package/README.md +6 -3
- package/dist/activities-BPTHt_MD.mjs +69 -0
- package/dist/activities-CRiEq51-.mjs +72 -0
- package/dist/activities-DyOMqdsM.mjs +69 -0
- package/dist/activity-labels-CLFpxp8o.mjs +34 -0
- package/dist/add-Br-_TLRp.mjs +55 -0
- package/dist/add-CTmmy2t9.mjs +26 -0
- package/dist/add-user-BVWFcbH7.mjs +26 -0
- package/dist/api-kJR0fRPw.mjs +143 -0
- package/dist/attachments-CnL8t9tK.mjs +50 -0
- package/dist/attachments-D8IoJjYE.mjs +50 -0
- package/dist/attachments-DfgEkAY2.mjs +46 -0
- package/dist/auth-5TJGBPxi.mjs +13 -0
- package/dist/bee-command-v0qvZeth.mjs +57 -0
- package/dist/browse-vgF6nz7X.mjs +304 -0
- package/dist/category-BZ7XdVgx.mjs +11 -0
- package/dist/clone-DAWVtVbZ.mjs +43 -0
- package/dist/close-cTyZPv77.mjs +37 -0
- package/dist/comment-CkYJYFrF.mjs +115 -0
- package/dist/comment-DzRBQNv8.mjs +102 -0
- package/dist/comments-SnOZ-EUJ.mjs +47 -0
- package/dist/common-options-BuYWxYdO.mjs +45 -0
- package/dist/completion-yfcnEl7k.mjs +113 -0
- package/dist/count-BI7ld4k5.mjs +50 -0
- package/dist/count-Bw0mVlxC.mjs +40 -0
- package/dist/count-CH_LN4k6.mjs +51 -0
- package/dist/count-CHzDiMV3.mjs +25 -0
- package/dist/count-DvmYzPD_.mjs +46 -0
- package/dist/create-BHjwacOk.mjs +47 -0
- package/dist/create-BXWATibN.mjs +41 -0
- package/dist/create-BtLVFmbR.mjs +29 -0
- package/dist/create-CoF2bahH.mjs +29 -0
- package/dist/create-DhAOhro9.mjs +60 -0
- package/dist/create-DtMLv7Wq.mjs +26 -0
- package/dist/create-PtahSFdG.mjs +66 -0
- package/dist/create-Y4vo2zwX.mjs +44 -0
- package/dist/create-vwRKZ3Lm.mjs +31 -0
- package/dist/dashboard-CYYU5Yii.mjs +97 -0
- package/dist/delete-BCAPHs-g.mjs +25 -0
- package/dist/delete-BHNt5SWa.mjs +24 -0
- package/dist/delete-BlmanW0H.mjs +25 -0
- package/dist/delete-Bxk14ntp.mjs +24 -0
- package/dist/delete-C05oMZEW.mjs +24 -0
- package/dist/delete-CMwkcSiA.mjs +25 -0
- package/dist/delete-CTeH7nzL.mjs +29 -0
- package/dist/delete-D2yDBhZc.mjs +24 -0
- package/dist/delete-HMOfvtv3.mjs +25 -0
- package/dist/document-CiIzSyoS.mjs +13 -0
- package/dist/edit-BBvSbt0m.mjs +22 -0
- package/dist/edit-CN1gdpjd.mjs +37 -0
- package/dist/edit-C_KbKopB.mjs +36 -0
- package/dist/edit-D5Z45NVj.mjs +27 -0
- package/dist/edit-DKQw-XXP.mjs +27 -0
- package/dist/edit-DRxr4r-r.mjs +60 -0
- package/dist/edit-DxsP-aPX.mjs +43 -0
- package/dist/edit-Otc7XHU7.mjs +52 -0
- package/dist/format-DHAR0n3J.mjs +9 -0
- package/dist/history-DpjqxFkX.mjs +55 -0
- package/dist/index.mjs +35 -207
- package/dist/issue-BRzJy3k1.mjs +18 -0
- package/dist/issue-type-Byzh4yLx.mjs +11 -0
- package/dist/list-B3A5SDEm.mjs +35 -0
- package/dist/list-BMKaJoe_.mjs +64 -0
- package/dist/list-BOMbpS4m.mjs +46 -0
- package/dist/list-BmZ_JbLB.mjs +104 -0
- package/dist/list-BpUUxxwQ.mjs +46 -0
- package/dist/list-CgIebllW.mjs +94 -0
- package/dist/list-D0Z__0nw.mjs +42 -0
- package/dist/list-D3FkO9gb.mjs +56 -0
- package/dist/list-D7WLdHvX.mjs +42 -0
- package/dist/list-DAr3urtu.mjs +53 -0
- package/dist/list-DqpWd9aR.mjs +59 -0
- package/dist/list-VO_PbRjC.mjs +50 -0
- package/dist/list-b6ByzUFt.mjs +79 -0
- package/dist/list-jpQ28gU2.mjs +56 -0
- package/dist/list-y93EXyDj.mjs +42 -0
- package/dist/login-BnJYzdR3.mjs +228 -0
- package/dist/logout-YMnSRLLF.mjs +56 -0
- package/dist/me-CLPAe7X2.mjs +36 -0
- package/dist/milestone-Dc3alfp9.mjs +11 -0
- package/dist/notification-CsOuC8Uk.mjs +11 -0
- package/dist/output-DBvfyU1J.mjs +39 -0
- package/dist/pr-BBe07JUp.mjs +15 -0
- package/dist/project-Dilo1T5e.mjs +16 -0
- package/dist/read-BS2G4sNq.mjs +17 -0
- package/dist/read-CyCASx6U.mjs +17 -0
- package/dist/read-all-CjgMJ2to.mjs +16 -0
- package/dist/refresh-DDU2ZLnc.mjs +54 -0
- package/dist/registry-B0ZQfBD5.mjs +35 -0
- package/dist/registry-RATsKPUm.mjs +2 -0
- package/dist/remove-BSDJvkVJ.mjs +17 -0
- package/dist/remove-user-CShNCvf8.mjs +26 -0
- package/dist/reopen-BIRhcmsI.mjs +28 -0
- package/dist/repo-B2K8y0mD.mjs +10 -0
- package/dist/role-labels-CLA2wmjO.mjs +11 -0
- package/dist/space-BgZeUqoH.mjs +6 -0
- package/dist/{shared/bee.B3N0WBdU.mjs → src-BWaxjrq_.mjs} +143 -176
- package/dist/src-CP4YLIAh.mjs +1008 -0
- package/dist/src-CTD9-bSB.mjs +22760 -0
- package/dist/star-Sgb-e2CQ.mjs +11 -0
- package/dist/status-BkFMW8Jh.mjs +53 -0
- package/dist/status-CaGqMXh7.mjs +64 -0
- package/dist/status-DDFyQrRZ.mjs +11 -0
- package/dist/status-nI4Dpcoo.mjs +58 -0
- package/dist/stdin-C-vjNi9T.mjs +17 -0
- package/dist/switch-CMLfVGDN.mjs +34 -0
- package/dist/tags-DuMJZyBL.mjs +29 -0
- package/dist/team-DfQn8Tf5.mjs +6 -0
- package/dist/token-BmkUX9vc.mjs +28 -0
- package/dist/tree-CozBqPbN.mjs +46 -0
- package/dist/user-DMyFmoP3.mjs +11 -0
- package/dist/users-BSGqsGSy.mjs +51 -0
- package/dist/view-Bj99sk7O.mjs +48 -0
- package/dist/view-Bs8o0c7i.mjs +36 -0
- package/dist/view-C1ECwTMN.mjs +54 -0
- package/dist/view-COBYBfu7.mjs +38 -0
- package/dist/view-CZHT-HiE.mjs +36 -0
- package/dist/view-D1RuQJV6.mjs +76 -0
- package/dist/view-DBO75WzR.mjs +54 -0
- package/dist/view-DJHrnN8j.mjs +62 -0
- package/dist/view-DLx6qQt9.mjs +51 -0
- package/dist/watching-D22YYxOT.mjs +12 -0
- package/dist/wiki-B-DQUuIX.mjs +16 -0
- package/package.json +12 -7
- package/dist/chunks/activities.mjs +0 -77
- package/dist/chunks/activities2.mjs +0 -77
- package/dist/chunks/activities3.mjs +0 -77
- package/dist/chunks/add-user.mjs +0 -40
- package/dist/chunks/add.mjs +0 -65
- package/dist/chunks/add2.mjs +0 -41
- package/dist/chunks/api.mjs +0 -176
- package/dist/chunks/attachments.mjs +0 -49
- package/dist/chunks/attachments2.mjs +0 -49
- package/dist/chunks/attachments3.mjs +0 -50
- package/dist/chunks/browse.mjs +0 -271
- package/dist/chunks/clone.mjs +0 -62
- package/dist/chunks/close.mjs +0 -52
- package/dist/chunks/comment.mjs +0 -127
- package/dist/chunks/comment2.mjs +0 -113
- package/dist/chunks/comments.mjs +0 -59
- package/dist/chunks/completion.mjs +0 -118
- package/dist/chunks/count.mjs +0 -70
- package/dist/chunks/count2.mjs +0 -71
- package/dist/chunks/count3.mjs +0 -61
- package/dist/chunks/count4.mjs +0 -37
- package/dist/chunks/count5.mjs +0 -54
- package/dist/chunks/create.mjs +0 -62
- package/dist/chunks/create2.mjs +0 -90
- package/dist/chunks/create3.mjs +0 -66
- package/dist/chunks/create4.mjs +0 -76
- package/dist/chunks/create5.mjs +0 -58
- package/dist/chunks/create6.mjs +0 -39
- package/dist/chunks/create7.mjs +0 -47
- package/dist/chunks/create8.mjs +0 -51
- package/dist/chunks/create9.mjs +0 -51
- package/dist/chunks/dashboard.mjs +0 -86
- package/dist/chunks/delete.mjs +0 -50
- package/dist/chunks/delete2.mjs +0 -48
- package/dist/chunks/delete3.mjs +0 -48
- package/dist/chunks/delete4.mjs +0 -51
- package/dist/chunks/delete5.mjs +0 -52
- package/dist/chunks/delete6.mjs +0 -52
- package/dist/chunks/delete7.mjs +0 -64
- package/dist/chunks/delete8.mjs +0 -55
- package/dist/chunks/delete9.mjs +0 -50
- package/dist/chunks/edit.mjs +0 -58
- package/dist/chunks/edit2.mjs +0 -80
- package/dist/chunks/edit3.mjs +0 -67
- package/dist/chunks/edit4.mjs +0 -53
- package/dist/chunks/edit5.mjs +0 -45
- package/dist/chunks/edit6.mjs +0 -56
- package/dist/chunks/edit7.mjs +0 -52
- package/dist/chunks/edit8.mjs +0 -52
- package/dist/chunks/history.mjs +0 -58
- package/dist/chunks/index.mjs +0 -15
- package/dist/chunks/index10.mjs +0 -18
- package/dist/chunks/index11.mjs +0 -13
- package/dist/chunks/index12.mjs +0 -13
- package/dist/chunks/index13.mjs +0 -13
- package/dist/chunks/index14.mjs +0 -8
- package/dist/chunks/index15.mjs +0 -13
- package/dist/chunks/index16.mjs +0 -13
- package/dist/chunks/index17.mjs +0 -14
- package/dist/chunks/index2.mjs +0 -18
- package/dist/chunks/index3.mjs +0 -20
- package/dist/chunks/index4.mjs +0 -15
- package/dist/chunks/index5.mjs +0 -13
- package/dist/chunks/index6.mjs +0 -17
- package/dist/chunks/index7.mjs +0 -8
- package/dist/chunks/index8.mjs +0 -8
- package/dist/chunks/index9.mjs +0 -13
- package/dist/chunks/list.mjs +0 -54
- package/dist/chunks/list10.mjs +0 -46
- package/dist/chunks/list11.mjs +0 -51
- package/dist/chunks/list12.mjs +0 -47
- package/dist/chunks/list13.mjs +0 -47
- package/dist/chunks/list14.mjs +0 -56
- package/dist/chunks/list15.mjs +0 -48
- package/dist/chunks/list2.mjs +0 -105
- package/dist/chunks/list3.mjs +0 -87
- package/dist/chunks/list4.mjs +0 -81
- package/dist/chunks/list5.mjs +0 -79
- package/dist/chunks/list6.mjs +0 -47
- package/dist/chunks/list7.mjs +0 -50
- package/dist/chunks/list8.mjs +0 -48
- package/dist/chunks/list9.mjs +0 -55
- package/dist/chunks/login.mjs +0 -220
- package/dist/chunks/logout.mjs +0 -72
- package/dist/chunks/me.mjs +0 -50
- package/dist/chunks/read-all.mjs +0 -31
- package/dist/chunks/read.mjs +0 -31
- package/dist/chunks/read2.mjs +0 -29
- package/dist/chunks/refresh.mjs +0 -78
- package/dist/chunks/remove-user.mjs +0 -40
- package/dist/chunks/remove.mjs +0 -29
- package/dist/chunks/reopen.mjs +0 -44
- package/dist/chunks/status.mjs +0 -61
- package/dist/chunks/status2.mjs +0 -63
- package/dist/chunks/status3.mjs +0 -68
- package/dist/chunks/switch.mjs +0 -51
- package/dist/chunks/tags.mjs +0 -43
- package/dist/chunks/token.mjs +0 -38
- package/dist/chunks/tree.mjs +0 -63
- package/dist/chunks/users.mjs +0 -50
- package/dist/chunks/view.mjs +0 -60
- package/dist/chunks/view2.mjs +0 -96
- package/dist/chunks/view3.mjs +0 -70
- package/dist/chunks/view4.mjs +0 -72
- package/dist/chunks/view5.mjs +0 -63
- package/dist/chunks/view6.mjs +0 -54
- package/dist/chunks/view7.mjs +0 -50
- package/dist/chunks/view8.mjs +0 -63
- package/dist/chunks/view9.mjs +0 -50
- package/dist/shared/bee.BImw1HZl.mjs +0 -28
- package/dist/shared/bee.BTBGpv4K.mjs +0 -34
- package/dist/shared/bee.BXiuAfjJ.mjs +0 -10
- package/dist/shared/bee.BYqxm3yG.mjs +0 -24
- package/dist/shared/bee.Btmq3TXs.mjs +0 -19
- package/dist/shared/bee.C--ZWPxf.mjs +0 -14
- package/dist/shared/bee.C4p7W8_P.mjs +0 -18
- package/dist/shared/bee.CirccSk2.mjs +0 -51
- package/dist/shared/bee.CktwmH8R.mjs +0 -25
- package/dist/shared/bee.CzKcWSES.mjs +0 -42
- package/dist/shared/bee.DFnSWb6q.mjs +0 -396
- package/dist/shared/bee.DessOtkV.mjs +0 -132
- package/dist/shared/bee.DfqnFet4.mjs +0 -49
- package/dist/shared/bee.DoTvz3uW.mjs +0 -13
- package/dist/shared/bee.G4d7izLe.mjs +0 -14
- package/dist/shared/bee.KteAW2rM.mjs +0 -73
- package/dist/shared/bee.PF8hrVKn.mjs +0 -27
- package/dist/shared/bee.a05kNWpn.mjs +0 -32
- package/dist/shared/bee.n5MYN4a6.mjs +0 -12
- package/dist/shared/bee.x-FvgDW2.mjs +0 -37660
package/dist/chunks/edit2.mjs
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import consola from 'consola';
|
|
2
|
-
import { P as PriorityId, a as PRIORITY_NAMES } from '../shared/bee.Btmq3TXs.mjs';
|
|
3
|
-
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
4
|
-
import 'node:stream/consumers';
|
|
5
|
-
import * as v from 'valibot';
|
|
6
|
-
import { p as parseArg, a as vFiniteNumber, v as vInteger } from '../shared/bee.BYqxm3yG.mjs';
|
|
7
|
-
import { r as resolveUserId } from '../shared/bee.G4d7izLe.mjs';
|
|
8
|
-
import { g as getClient } from '../shared/bee.DessOtkV.mjs';
|
|
9
|
-
import 'backlog-js';
|
|
10
|
-
import 'node:http';
|
|
11
|
-
import 'open';
|
|
12
|
-
import 'node:child_process';
|
|
13
|
-
import '../shared/bee.x-FvgDW2.mjs';
|
|
14
|
-
import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.KteAW2rM.mjs';
|
|
15
|
-
import { q as category, v as version, t as milestone, z as comment, x as notify, y as attachment, j as json, s as space } from '../shared/bee.B3N0WBdU.mjs';
|
|
16
|
-
import '../shared/bee.CktwmH8R.mjs';
|
|
17
|
-
import '../shared/bee.DfqnFet4.mjs';
|
|
18
|
-
import '../shared/bee.BImw1HZl.mjs';
|
|
19
|
-
import 'node:module';
|
|
20
|
-
import 'commander';
|
|
21
|
-
import 'consola/utils';
|
|
22
|
-
import 'node:fs';
|
|
23
|
-
import 'node:path';
|
|
24
|
-
import 'node:os';
|
|
25
|
-
|
|
26
|
-
const edit = new BeeCommand("edit").summary("Edit an issue").description(`Only specified fields are updated; others remain unchanged.`).argument("<issue>", "Issue ID or issue key").option("-t, --title <text>", "New title of the issue").option("-d, --description <text>", "New description of the issue").option("-S, --status <id>", "New status ID").option("-P, --priority <name>", `Change priority`).option("-T, --type <id>", "New issue type ID").option("--assignee <id>", "New assignee user ID. Use @me for yourself.").addOption(category()).addOption(version()).addOption(milestone()).option("--resolution <id>", "Resolution ID").option("--parent-issue <id>", "New parent issue ID").option("--start-date <date>", "New start date").option("--due-date <date>", "New due date").option("--estimated-hours <n>", "New estimated hours").option("--actual-hours <n>", "New actual hours").addOption(comment()).addOption(notify()).addOption(attachment()).addOption(json()).addOption(space()).envVars([...ENV_AUTH]).examples([
|
|
27
|
-
{
|
|
28
|
-
description: "Update issue title",
|
|
29
|
-
command: 'bee issue edit PROJECT-123 -t "New title"'
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
description: "Change assignee and priority",
|
|
33
|
-
command: "bee issue edit PROJECT-123 --assignee 12345 --priority high"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
description: "Add a comment with the update",
|
|
37
|
-
command: 'bee issue edit PROJECT-123 -t "New title" --comment "Updated title"'
|
|
38
|
-
}
|
|
39
|
-
]).action(async (issue, opts) => {
|
|
40
|
-
const { client } = await getClient(opts.space);
|
|
41
|
-
const categoryId = opts.category ?? [];
|
|
42
|
-
const versionId = opts.version ?? [];
|
|
43
|
-
const milestoneId = opts.milestone ?? [];
|
|
44
|
-
const notifiedUserId = opts.notify ?? [];
|
|
45
|
-
const attachmentId = opts.attachment ?? [];
|
|
46
|
-
let priorityId;
|
|
47
|
-
if (opts.priority) {
|
|
48
|
-
priorityId = PriorityId[opts.priority.toLowerCase()];
|
|
49
|
-
if (priorityId === void 0) {
|
|
50
|
-
throw new Error(
|
|
51
|
-
`Unknown priority "${opts.priority}". Valid values: ${PRIORITY_NAMES.join(", ")}`
|
|
52
|
-
);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
const issueData = await client.patchIssue(issue, {
|
|
56
|
-
summary: opts.title,
|
|
57
|
-
description: opts.description,
|
|
58
|
-
statusId: parseArg(v.optional(vInteger), opts.status, "--status"),
|
|
59
|
-
priorityId,
|
|
60
|
-
issueTypeId: parseArg(v.optional(vInteger), opts.type, "--type"),
|
|
61
|
-
assigneeId: opts.assignee ? await resolveUserId(client, opts.assignee) : void 0,
|
|
62
|
-
categoryId,
|
|
63
|
-
versionId,
|
|
64
|
-
milestoneId,
|
|
65
|
-
resolutionId: parseArg(v.optional(vInteger), opts.resolution, "--resolution"),
|
|
66
|
-
parentIssueId: parseArg(v.optional(vInteger), opts.parentIssue, "--parent-issue"),
|
|
67
|
-
startDate: opts.startDate,
|
|
68
|
-
dueDate: opts.dueDate,
|
|
69
|
-
estimatedHours: parseArg(v.optional(vFiniteNumber), opts.estimatedHours, "--estimated-hours"),
|
|
70
|
-
actualHours: parseArg(v.optional(vFiniteNumber), opts.actualHours, "--actual-hours"),
|
|
71
|
-
comment: opts.comment,
|
|
72
|
-
notifiedUserId,
|
|
73
|
-
attachmentId
|
|
74
|
-
});
|
|
75
|
-
outputResult(issueData, opts, (data) => {
|
|
76
|
-
consola.success(`Updated issue ${data.issueKey}: ${data.summary}`);
|
|
77
|
-
});
|
|
78
|
-
});
|
|
79
|
-
|
|
80
|
-
export { edit as default };
|
package/dist/chunks/edit3.mjs
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import consola from 'consola';
|
|
2
|
-
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
3
|
-
import 'node:stream/consumers';
|
|
4
|
-
import * as v from 'valibot';
|
|
5
|
-
import { p as parseArg, v as vInteger } from '../shared/bee.BYqxm3yG.mjs';
|
|
6
|
-
import { r as resolveUserId } from '../shared/bee.G4d7izLe.mjs';
|
|
7
|
-
import { g as getClient } from '../shared/bee.DessOtkV.mjs';
|
|
8
|
-
import 'backlog-js';
|
|
9
|
-
import 'node:http';
|
|
10
|
-
import 'open';
|
|
11
|
-
import 'node:child_process';
|
|
12
|
-
import '../shared/bee.x-FvgDW2.mjs';
|
|
13
|
-
import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT, b as ENV_REPO } from '../shared/bee.KteAW2rM.mjs';
|
|
14
|
-
import { d as project, C as repo, z as comment, x as notify, j as json, s as space, r as resolveOptions } from '../shared/bee.B3N0WBdU.mjs';
|
|
15
|
-
import '../shared/bee.CktwmH8R.mjs';
|
|
16
|
-
import '../shared/bee.DfqnFet4.mjs';
|
|
17
|
-
import '../shared/bee.BImw1HZl.mjs';
|
|
18
|
-
import 'node:module';
|
|
19
|
-
import 'commander';
|
|
20
|
-
import 'consola/utils';
|
|
21
|
-
import 'node:fs';
|
|
22
|
-
import 'node:path';
|
|
23
|
-
import 'node:os';
|
|
24
|
-
|
|
25
|
-
const edit = new BeeCommand("edit").summary("Edit a pull request").description(`Only specified fields are updated; others remain unchanged.`).argument("<number>", "Pull request number").addOption(project()).addOption(repo()).option("-t, --title <text>", "New title of the pull request").option("-b, --body <text>", "New description of the pull request").option("--assignee <id>", "New assignee user ID. Use @me for yourself.").option("--issue <key>", "New related issue ID or issue key").addOption(comment()).addOption(notify()).addOption(json()).addOption(space()).envVars([...ENV_AUTH, ENV_PROJECT, ENV_REPO]).examples([
|
|
26
|
-
{
|
|
27
|
-
description: "Update pull request title",
|
|
28
|
-
command: 'bee pr edit 42 -p PROJECT -R repo -t "New title"'
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
description: "Change assignee",
|
|
32
|
-
command: "bee pr edit 42 -p PROJECT -R repo --assignee 12345"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
description: "Add a comment with the update",
|
|
36
|
-
command: 'bee pr edit 42 -p PROJECT -R repo -t "New title" --comment "Updated title"'
|
|
37
|
-
}
|
|
38
|
-
]).action(async (number, opts, cmd) => {
|
|
39
|
-
await resolveOptions(cmd);
|
|
40
|
-
const { client } = await getClient(opts.space);
|
|
41
|
-
const prNumber = parseArg(vInteger, number, "number");
|
|
42
|
-
const notifiedUserId = opts.notify ?? [];
|
|
43
|
-
let issueId;
|
|
44
|
-
if (opts.issue) {
|
|
45
|
-
const parsed = v.safeParse(vInteger, opts.issue);
|
|
46
|
-
if (parsed.success) {
|
|
47
|
-
issueId = parsed.output;
|
|
48
|
-
} else {
|
|
49
|
-
const issue = await client.getIssue(opts.issue);
|
|
50
|
-
issueId = issue.id;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
const pullRequest = await client.patchPullRequest(opts.project, opts.repo, prNumber, {
|
|
54
|
-
summary: opts.title,
|
|
55
|
-
description: opts.body,
|
|
56
|
-
issueId,
|
|
57
|
-
assigneeId: opts.assignee ? await resolveUserId(client, opts.assignee) : void 0,
|
|
58
|
-
comment: opts.comment ?? void 0,
|
|
59
|
-
notifiedUserId
|
|
60
|
-
});
|
|
61
|
-
const json = opts.json === true ? "" : opts.json;
|
|
62
|
-
outputResult(pullRequest, { json }, (data) => {
|
|
63
|
-
consola.success(`Updated pull request #${data.number}: ${data.summary}`);
|
|
64
|
-
});
|
|
65
|
-
});
|
|
66
|
-
|
|
67
|
-
export { edit as default };
|
package/dist/chunks/edit4.mjs
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import consola from 'consola';
|
|
2
|
-
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
3
|
-
import { a as resolveStdinArg } from '../shared/bee.C--ZWPxf.mjs';
|
|
4
|
-
import 'valibot';
|
|
5
|
-
import { p as parseArg, v as vInteger } from '../shared/bee.BYqxm3yG.mjs';
|
|
6
|
-
import { g as getClient } from '../shared/bee.DessOtkV.mjs';
|
|
7
|
-
import 'backlog-js';
|
|
8
|
-
import 'node:http';
|
|
9
|
-
import 'open';
|
|
10
|
-
import 'node:child_process';
|
|
11
|
-
import '../shared/bee.x-FvgDW2.mjs';
|
|
12
|
-
import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.KteAW2rM.mjs';
|
|
13
|
-
import { j as json, s as space } from '../shared/bee.B3N0WBdU.mjs';
|
|
14
|
-
import 'node:stream/consumers';
|
|
15
|
-
import '../shared/bee.CktwmH8R.mjs';
|
|
16
|
-
import '../shared/bee.DfqnFet4.mjs';
|
|
17
|
-
import '../shared/bee.BImw1HZl.mjs';
|
|
18
|
-
import 'node:module';
|
|
19
|
-
import 'commander';
|
|
20
|
-
import 'consola/utils';
|
|
21
|
-
import 'node:fs';
|
|
22
|
-
import 'node:path';
|
|
23
|
-
import 'node:os';
|
|
24
|
-
|
|
25
|
-
const edit = new BeeCommand("edit").summary("Edit a wiki page").description(
|
|
26
|
-
`Only specified fields are updated. When input is piped, it is used as the body automatically.`
|
|
27
|
-
).argument("<wiki>", "Wiki page ID").option("-n, --name <name>", "New name of the wiki page").option("-b, --body <text>", "New content of the wiki page").option("--mail-notify", "Send notification email").addOption(json()).addOption(space()).envVars([...ENV_AUTH]).examples([
|
|
28
|
-
{
|
|
29
|
-
description: "Update wiki page name",
|
|
30
|
-
command: 'bee wiki edit 12345 -n "New Name"'
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
description: "Update wiki page body",
|
|
34
|
-
command: 'bee wiki edit 12345 -b "New content"'
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
description: "Update body from stdin",
|
|
38
|
-
command: 'echo "New content" | bee wiki edit 12345'
|
|
39
|
-
}
|
|
40
|
-
]).action(async (wiki, opts) => {
|
|
41
|
-
const { client } = await getClient(opts.space);
|
|
42
|
-
const content = await resolveStdinArg(opts.body);
|
|
43
|
-
const wikiData = await client.patchWiki(parseArg(vInteger, wiki, "wiki"), {
|
|
44
|
-
name: opts.name,
|
|
45
|
-
content,
|
|
46
|
-
mailNotify: opts.mailNotify
|
|
47
|
-
});
|
|
48
|
-
outputResult(wikiData, opts, (data) => {
|
|
49
|
-
consola.success(`Updated wiki page ${data.id}: ${data.name}`);
|
|
50
|
-
});
|
|
51
|
-
});
|
|
52
|
-
|
|
53
|
-
export { edit as default };
|
package/dist/chunks/edit5.mjs
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import consola from 'consola';
|
|
2
|
-
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
3
|
-
import { d as project, j as json, s as space, r as resolveOptions, a as promptRequired } from '../shared/bee.B3N0WBdU.mjs';
|
|
4
|
-
import 'node:stream/consumers';
|
|
5
|
-
import 'valibot';
|
|
6
|
-
import { p as parseArg, v as vInteger } from '../shared/bee.BYqxm3yG.mjs';
|
|
7
|
-
import { g as getClient } from '../shared/bee.DessOtkV.mjs';
|
|
8
|
-
import 'backlog-js';
|
|
9
|
-
import 'node:http';
|
|
10
|
-
import 'open';
|
|
11
|
-
import 'node:child_process';
|
|
12
|
-
import '../shared/bee.x-FvgDW2.mjs';
|
|
13
|
-
import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
|
|
14
|
-
import 'node:fs';
|
|
15
|
-
import 'node:path';
|
|
16
|
-
import 'node:os';
|
|
17
|
-
import '../shared/bee.BImw1HZl.mjs';
|
|
18
|
-
import 'commander';
|
|
19
|
-
import '../shared/bee.CktwmH8R.mjs';
|
|
20
|
-
import '../shared/bee.DfqnFet4.mjs';
|
|
21
|
-
import 'node:module';
|
|
22
|
-
import 'consola/utils';
|
|
23
|
-
|
|
24
|
-
const edit = new BeeCommand("edit").summary("Edit a category").description(`Renames the specified category.`).argument("<category>", "Category ID").addOption(project()).option("-n, --name <value>", "New name of the category").addOption(json()).addOption(space()).envVars([...ENV_AUTH, ENV_PROJECT]).examples([
|
|
25
|
-
{
|
|
26
|
-
description: "Rename a category",
|
|
27
|
-
command: 'bee category edit 12345 -p PROJECT -n "New Name"'
|
|
28
|
-
}
|
|
29
|
-
]).action(async (category, opts, cmd) => {
|
|
30
|
-
await resolveOptions(cmd);
|
|
31
|
-
const { client } = await getClient(opts.space);
|
|
32
|
-
const name = await promptRequired("Category name:", opts.name);
|
|
33
|
-
const result = await client.patchCategories(
|
|
34
|
-
opts.project,
|
|
35
|
-
parseArg(vInteger, category, "category"),
|
|
36
|
-
{
|
|
37
|
-
name
|
|
38
|
-
}
|
|
39
|
-
);
|
|
40
|
-
outputResult(result, opts, (data) => {
|
|
41
|
-
consola.success(`Updated category ${data.name} (ID: ${data.id})`);
|
|
42
|
-
});
|
|
43
|
-
});
|
|
44
|
-
|
|
45
|
-
export { edit as default };
|
package/dist/chunks/edit6.mjs
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import consola from 'consola';
|
|
2
|
-
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
3
|
-
import 'node:stream/consumers';
|
|
4
|
-
import 'valibot';
|
|
5
|
-
import { p as parseArg, v as vInteger } from '../shared/bee.BYqxm3yG.mjs';
|
|
6
|
-
import { g as getClient } from '../shared/bee.DessOtkV.mjs';
|
|
7
|
-
import 'backlog-js';
|
|
8
|
-
import 'node:http';
|
|
9
|
-
import 'open';
|
|
10
|
-
import 'node:child_process';
|
|
11
|
-
import '../shared/bee.x-FvgDW2.mjs';
|
|
12
|
-
import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
|
|
13
|
-
import { d as project, j as json, s as space, r as resolveOptions } from '../shared/bee.B3N0WBdU.mjs';
|
|
14
|
-
import '../shared/bee.CktwmH8R.mjs';
|
|
15
|
-
import '../shared/bee.DfqnFet4.mjs';
|
|
16
|
-
import '../shared/bee.BImw1HZl.mjs';
|
|
17
|
-
import 'node:module';
|
|
18
|
-
import 'commander';
|
|
19
|
-
import 'consola/utils';
|
|
20
|
-
import 'node:fs';
|
|
21
|
-
import 'node:path';
|
|
22
|
-
import 'node:os';
|
|
23
|
-
|
|
24
|
-
const edit = new BeeCommand("edit").summary("Edit a milestone").description(`Only specified fields are updated; others remain unchanged.`).argument("<milestone>", "Milestone ID").addOption(project()).requiredOption("-n, --name <value>", "New name of the milestone").option("-d, --description <value>", "New description of the milestone").option("--start-date <yyyy-MM-dd>", "New start date").option("--release-due-date <yyyy-MM-dd>", "New release due date").option("--archived", "Change whether the milestone is archived").addOption(json()).addOption(space()).envVars([...ENV_AUTH, ENV_PROJECT]).examples([
|
|
25
|
-
{
|
|
26
|
-
description: "Rename a milestone",
|
|
27
|
-
command: 'bee milestone edit 12345 -p PROJECT -n "v2.0.0"'
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
description: "Archive a milestone",
|
|
31
|
-
command: "bee milestone edit 12345 -p PROJECT --archived"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
description: "Update release date",
|
|
35
|
-
command: "bee milestone edit 12345 -p PROJECT --release-due-date 2026-12-31"
|
|
36
|
-
}
|
|
37
|
-
]).action(async (milestone, opts, cmd) => {
|
|
38
|
-
await resolveOptions(cmd);
|
|
39
|
-
const { client } = await getClient(opts.space);
|
|
40
|
-
const result = await client.patchVersions(
|
|
41
|
-
opts.project,
|
|
42
|
-
parseArg(vInteger, milestone, "milestone"),
|
|
43
|
-
{
|
|
44
|
-
name: opts.name,
|
|
45
|
-
description: opts.description,
|
|
46
|
-
startDate: opts.startDate,
|
|
47
|
-
releaseDueDate: opts.releaseDueDate,
|
|
48
|
-
archived: opts.archived
|
|
49
|
-
}
|
|
50
|
-
);
|
|
51
|
-
outputResult(result, opts, (data) => {
|
|
52
|
-
consola.success(`Updated milestone ${data.name} (ID: ${data.id})`);
|
|
53
|
-
});
|
|
54
|
-
});
|
|
55
|
-
|
|
56
|
-
export { edit as default };
|
package/dist/chunks/edit7.mjs
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import consola from 'consola';
|
|
2
|
-
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
3
|
-
import 'node:stream/consumers';
|
|
4
|
-
import 'valibot';
|
|
5
|
-
import { p as parseArg, v as vInteger } from '../shared/bee.BYqxm3yG.mjs';
|
|
6
|
-
import { g as getClient } from '../shared/bee.DessOtkV.mjs';
|
|
7
|
-
import 'backlog-js';
|
|
8
|
-
import 'node:http';
|
|
9
|
-
import 'open';
|
|
10
|
-
import 'node:child_process';
|
|
11
|
-
import '../shared/bee.x-FvgDW2.mjs';
|
|
12
|
-
import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
|
|
13
|
-
import { d as project, j as json, s as space, r as resolveOptions } from '../shared/bee.B3N0WBdU.mjs';
|
|
14
|
-
import '../shared/bee.CktwmH8R.mjs';
|
|
15
|
-
import '../shared/bee.DfqnFet4.mjs';
|
|
16
|
-
import '../shared/bee.BImw1HZl.mjs';
|
|
17
|
-
import 'node:module';
|
|
18
|
-
import 'commander';
|
|
19
|
-
import 'consola/utils';
|
|
20
|
-
import 'node:fs';
|
|
21
|
-
import 'node:path';
|
|
22
|
-
import 'node:os';
|
|
23
|
-
|
|
24
|
-
const edit = new BeeCommand("edit").summary("Edit an issue type").description(`Only specified fields are updated; others remain unchanged.`).argument("<issueType>", "Issue type ID").addOption(project()).option("-n, --name <value>", "New name of the issue type").option(
|
|
25
|
-
"--color <value>",
|
|
26
|
-
"Change display color {#e30000|#990000|#934981|#814fbc|#2779ca|#007e9a|#7ea800|#ff9200|#ff3265|#666665}"
|
|
27
|
-
).addOption(json()).addOption(space()).envVars([...ENV_AUTH, ENV_PROJECT]).examples([
|
|
28
|
-
{
|
|
29
|
-
description: "Rename an issue type",
|
|
30
|
-
command: 'bee issue-type edit 12345 -p PROJECT -n "New Name"'
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
description: "Change issue type color",
|
|
34
|
-
command: 'bee issue-type edit 12345 -p PROJECT --color "#e30000"'
|
|
35
|
-
}
|
|
36
|
-
]).action(async (issueType, opts, cmd) => {
|
|
37
|
-
await resolveOptions(cmd);
|
|
38
|
-
const { client } = await getClient(opts.space);
|
|
39
|
-
const result = await client.patchIssueType(
|
|
40
|
-
opts.project,
|
|
41
|
-
parseArg(vInteger, issueType, "issueType"),
|
|
42
|
-
{
|
|
43
|
-
name: opts.name,
|
|
44
|
-
color: opts.color
|
|
45
|
-
}
|
|
46
|
-
);
|
|
47
|
-
outputResult(result, opts, (data) => {
|
|
48
|
-
consola.success(`Updated issue type ${data.name} (ID: ${data.id})`);
|
|
49
|
-
});
|
|
50
|
-
});
|
|
51
|
-
|
|
52
|
-
export { edit as default };
|
package/dist/chunks/edit8.mjs
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import consola from 'consola';
|
|
2
|
-
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
3
|
-
import 'node:stream/consumers';
|
|
4
|
-
import 'valibot';
|
|
5
|
-
import { p as parseArg, v as vInteger } from '../shared/bee.BYqxm3yG.mjs';
|
|
6
|
-
import { g as getClient } from '../shared/bee.DessOtkV.mjs';
|
|
7
|
-
import 'backlog-js';
|
|
8
|
-
import 'node:http';
|
|
9
|
-
import 'open';
|
|
10
|
-
import 'node:child_process';
|
|
11
|
-
import '../shared/bee.x-FvgDW2.mjs';
|
|
12
|
-
import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
|
|
13
|
-
import { d as project, j as json, s as space, r as resolveOptions } from '../shared/bee.B3N0WBdU.mjs';
|
|
14
|
-
import '../shared/bee.CktwmH8R.mjs';
|
|
15
|
-
import '../shared/bee.DfqnFet4.mjs';
|
|
16
|
-
import '../shared/bee.BImw1HZl.mjs';
|
|
17
|
-
import 'node:module';
|
|
18
|
-
import 'commander';
|
|
19
|
-
import 'consola/utils';
|
|
20
|
-
import 'node:fs';
|
|
21
|
-
import 'node:path';
|
|
22
|
-
import 'node:os';
|
|
23
|
-
|
|
24
|
-
const edit = new BeeCommand("edit").summary("Edit a status").description(`Only specified fields are updated; others remain unchanged.`).argument("<status>", "Status ID").addOption(project()).option("-n, --name <value>", "New name of the status").option(
|
|
25
|
-
"--color <value>",
|
|
26
|
-
"Change display color {#ea2c00|#e87758|#e07b9a|#868cb7|#3b9dbd|#4caf93|#b0be3c|#eda62a|#f42858|#393939}"
|
|
27
|
-
).addOption(json()).addOption(space()).envVars([...ENV_AUTH, ENV_PROJECT]).examples([
|
|
28
|
-
{
|
|
29
|
-
description: "Rename a status",
|
|
30
|
-
command: 'bee status edit 12345 -p PROJECT -n "New Name"'
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
description: "Change status color",
|
|
34
|
-
command: 'bee status edit 12345 -p PROJECT --color "#e30000"'
|
|
35
|
-
}
|
|
36
|
-
]).action(async (status, opts, cmd) => {
|
|
37
|
-
await resolveOptions(cmd);
|
|
38
|
-
const { client } = await getClient(opts.space);
|
|
39
|
-
const result = await client.patchProjectStatus(
|
|
40
|
-
opts.project,
|
|
41
|
-
parseArg(vInteger, status, "status"),
|
|
42
|
-
{
|
|
43
|
-
name: opts.name,
|
|
44
|
-
color: opts.color
|
|
45
|
-
}
|
|
46
|
-
);
|
|
47
|
-
outputResult(result, opts, (data) => {
|
|
48
|
-
consola.success(`Updated status ${data.name} (ID: ${data.id})`);
|
|
49
|
-
});
|
|
50
|
-
});
|
|
51
|
-
|
|
52
|
-
export { edit as default };
|
package/dist/chunks/history.mjs
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import consola from 'consola';
|
|
2
|
-
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
3
|
-
import 'node:stream/consumers';
|
|
4
|
-
import * as v from 'valibot';
|
|
5
|
-
import { p as parseArg, v as vInteger } from '../shared/bee.BYqxm3yG.mjs';
|
|
6
|
-
import { f as formatDate } from '../shared/bee.n5MYN4a6.mjs';
|
|
7
|
-
import { p as printTable } from '../shared/bee.a05kNWpn.mjs';
|
|
8
|
-
import { g as getClient } from '../shared/bee.DessOtkV.mjs';
|
|
9
|
-
import 'backlog-js';
|
|
10
|
-
import 'node:http';
|
|
11
|
-
import 'open';
|
|
12
|
-
import 'node:child_process';
|
|
13
|
-
import '../shared/bee.x-FvgDW2.mjs';
|
|
14
|
-
import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.KteAW2rM.mjs';
|
|
15
|
-
import { A as minId, B as maxId, g as count, o as order, j as json, s as space } from '../shared/bee.B3N0WBdU.mjs';
|
|
16
|
-
import '../shared/bee.DFnSWb6q.mjs';
|
|
17
|
-
import '../shared/bee.CktwmH8R.mjs';
|
|
18
|
-
import '../shared/bee.DfqnFet4.mjs';
|
|
19
|
-
import '../shared/bee.BImw1HZl.mjs';
|
|
20
|
-
import 'node:module';
|
|
21
|
-
import 'commander';
|
|
22
|
-
import 'consola/utils';
|
|
23
|
-
import 'node:fs';
|
|
24
|
-
import 'node:path';
|
|
25
|
-
import 'node:os';
|
|
26
|
-
|
|
27
|
-
const history = new BeeCommand("history").summary("View wiki page history").description(`Shows version number, updater, and update date for each revision.`).argument("<wiki>", "Wiki page ID").addOption(minId()).addOption(maxId()).addOption(count()).addOption(order()).addOption(json()).addOption(space()).envVars([...ENV_AUTH]).examples([
|
|
28
|
-
{ description: "View wiki page history", command: "bee wiki history 12345" },
|
|
29
|
-
{
|
|
30
|
-
description: "View history in ascending order",
|
|
31
|
-
command: "bee wiki history 12345 --order asc"
|
|
32
|
-
},
|
|
33
|
-
{ description: "Output as JSON", command: "bee wiki history 12345 --json" }
|
|
34
|
-
]).action(async (wiki, opts) => {
|
|
35
|
-
const { client } = await getClient(opts.space);
|
|
36
|
-
const histories = await client.getWikisHistory(parseArg(vInteger, wiki, "wiki"), {
|
|
37
|
-
minId: parseArg(v.optional(vInteger), opts.minId, "--min-id"),
|
|
38
|
-
maxId: parseArg(v.optional(vInteger), opts.maxId, "--max-id"),
|
|
39
|
-
count: parseArg(v.optional(vInteger), opts.count, "--count"),
|
|
40
|
-
order: opts.order
|
|
41
|
-
});
|
|
42
|
-
outputResult(histories, opts, (data) => {
|
|
43
|
-
if (data.length === 0) {
|
|
44
|
-
consola.info("No history found.");
|
|
45
|
-
return;
|
|
46
|
-
}
|
|
47
|
-
const rows = data.map(
|
|
48
|
-
(h) => [
|
|
49
|
-
{ header: "VERSION", value: String(h.version) },
|
|
50
|
-
{ header: "UPDATED BY", value: h.createdUser.name },
|
|
51
|
-
{ header: "UPDATED", value: formatDate(h.created) }
|
|
52
|
-
]
|
|
53
|
-
);
|
|
54
|
-
printTable(rows);
|
|
55
|
-
});
|
|
56
|
-
});
|
|
57
|
-
|
|
58
|
-
export { history as default };
|
package/dist/chunks/index.mjs
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { B as BeeCommand } from '../shared/bee.KteAW2rM.mjs';
|
|
2
|
-
import 'commander';
|
|
3
|
-
import 'consola/utils';
|
|
4
|
-
|
|
5
|
-
const auth = new BeeCommand("auth").summary("Authenticate bee with Backlog");
|
|
6
|
-
await auth.addCommands([
|
|
7
|
-
import('./login.mjs'),
|
|
8
|
-
import('./logout.mjs'),
|
|
9
|
-
import('./status.mjs'),
|
|
10
|
-
import('./token.mjs'),
|
|
11
|
-
import('./refresh.mjs'),
|
|
12
|
-
import('./switch.mjs')
|
|
13
|
-
]);
|
|
14
|
-
|
|
15
|
-
export { auth as default };
|
package/dist/chunks/index10.mjs
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { B as BeeCommand } from '../shared/bee.KteAW2rM.mjs';
|
|
2
|
-
import 'commander';
|
|
3
|
-
import 'consola/utils';
|
|
4
|
-
|
|
5
|
-
const wiki = new BeeCommand("wiki").summary("Manage Backlog wiki pages");
|
|
6
|
-
await wiki.addCommands([
|
|
7
|
-
import('./list9.mjs'),
|
|
8
|
-
import('./view8.mjs'),
|
|
9
|
-
import('./count4.mjs'),
|
|
10
|
-
import('./tags.mjs'),
|
|
11
|
-
import('./history.mjs'),
|
|
12
|
-
import('./attachments3.mjs'),
|
|
13
|
-
import('./create5.mjs'),
|
|
14
|
-
import('./edit4.mjs'),
|
|
15
|
-
import('./delete4.mjs')
|
|
16
|
-
]);
|
|
17
|
-
|
|
18
|
-
export { wiki as default };
|
package/dist/chunks/index11.mjs
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { B as BeeCommand } from '../shared/bee.KteAW2rM.mjs';
|
|
2
|
-
import 'commander';
|
|
3
|
-
import 'consola/utils';
|
|
4
|
-
|
|
5
|
-
const category = new BeeCommand("category").summary("Manage project categories");
|
|
6
|
-
await category.addCommands([
|
|
7
|
-
import('./list10.mjs'),
|
|
8
|
-
import('./create6.mjs'),
|
|
9
|
-
import('./edit5.mjs'),
|
|
10
|
-
import('./delete5.mjs')
|
|
11
|
-
]);
|
|
12
|
-
|
|
13
|
-
export { category as default };
|
package/dist/chunks/index12.mjs
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { B as BeeCommand } from '../shared/bee.KteAW2rM.mjs';
|
|
2
|
-
import 'commander';
|
|
3
|
-
import 'consola/utils';
|
|
4
|
-
|
|
5
|
-
const milestone = new BeeCommand("milestone").summary("Manage project milestones");
|
|
6
|
-
await milestone.addCommands([
|
|
7
|
-
import('./list11.mjs'),
|
|
8
|
-
import('./create7.mjs'),
|
|
9
|
-
import('./edit6.mjs'),
|
|
10
|
-
import('./delete6.mjs')
|
|
11
|
-
]);
|
|
12
|
-
|
|
13
|
-
export { milestone as default };
|
package/dist/chunks/index13.mjs
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { B as BeeCommand } from '../shared/bee.KteAW2rM.mjs';
|
|
2
|
-
import 'commander';
|
|
3
|
-
import 'consola/utils';
|
|
4
|
-
|
|
5
|
-
const issueType = new BeeCommand("issue-type").summary("Manage project issue types");
|
|
6
|
-
await issueType.addCommands([
|
|
7
|
-
import('./list12.mjs'),
|
|
8
|
-
import('./create8.mjs'),
|
|
9
|
-
import('./edit7.mjs'),
|
|
10
|
-
import('./delete7.mjs')
|
|
11
|
-
]);
|
|
12
|
-
|
|
13
|
-
export { issueType as default };
|
package/dist/chunks/index14.mjs
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { B as BeeCommand } from '../shared/bee.KteAW2rM.mjs';
|
|
2
|
-
import 'commander';
|
|
3
|
-
import 'consola/utils';
|
|
4
|
-
|
|
5
|
-
const space = new BeeCommand("space").summary("Manage space information");
|
|
6
|
-
await space.addCommands([import('./activities3.mjs')]);
|
|
7
|
-
|
|
8
|
-
export { space as default };
|
package/dist/chunks/index15.mjs
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { B as BeeCommand } from '../shared/bee.KteAW2rM.mjs';
|
|
2
|
-
import 'commander';
|
|
3
|
-
import 'consola/utils';
|
|
4
|
-
|
|
5
|
-
const status = new BeeCommand("status").summary("Manage project statuses");
|
|
6
|
-
await status.addCommands([
|
|
7
|
-
import('./list13.mjs'),
|
|
8
|
-
import('./create9.mjs'),
|
|
9
|
-
import('./edit8.mjs'),
|
|
10
|
-
import('./delete8.mjs')
|
|
11
|
-
]);
|
|
12
|
-
|
|
13
|
-
export { status as default };
|
package/dist/chunks/index16.mjs
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { B as BeeCommand } from '../shared/bee.KteAW2rM.mjs';
|
|
2
|
-
import 'commander';
|
|
3
|
-
import 'consola/utils';
|
|
4
|
-
|
|
5
|
-
const star = new BeeCommand("star").summary("Manage stars");
|
|
6
|
-
await star.addCommands([
|
|
7
|
-
import('./add.mjs'),
|
|
8
|
-
import('./list14.mjs'),
|
|
9
|
-
import('./count5.mjs'),
|
|
10
|
-
import('./remove.mjs')
|
|
11
|
-
]);
|
|
12
|
-
|
|
13
|
-
export { star as default };
|
package/dist/chunks/index17.mjs
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { B as BeeCommand } from '../shared/bee.KteAW2rM.mjs';
|
|
2
|
-
import 'commander';
|
|
3
|
-
import 'consola/utils';
|
|
4
|
-
|
|
5
|
-
const watching = new BeeCommand("watching").summary("Manage watching (issue subscriptions)");
|
|
6
|
-
await watching.addCommands([
|
|
7
|
-
import('./list15.mjs'),
|
|
8
|
-
import('./add2.mjs'),
|
|
9
|
-
import('./view9.mjs'),
|
|
10
|
-
import('./delete9.mjs'),
|
|
11
|
-
import('./read2.mjs')
|
|
12
|
-
]);
|
|
13
|
-
|
|
14
|
-
export { watching as default };
|
package/dist/chunks/index2.mjs
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { B as BeeCommand } from '../shared/bee.KteAW2rM.mjs';
|
|
2
|
-
import 'commander';
|
|
3
|
-
import 'consola/utils';
|
|
4
|
-
|
|
5
|
-
const project = new BeeCommand("project").summary("Manage Backlog projects");
|
|
6
|
-
await project.addCommands([
|
|
7
|
-
import('./list.mjs'),
|
|
8
|
-
import('./view.mjs'),
|
|
9
|
-
import('./create.mjs'),
|
|
10
|
-
import('./edit.mjs'),
|
|
11
|
-
import('./delete.mjs'),
|
|
12
|
-
import('./users.mjs'),
|
|
13
|
-
import('./activities.mjs'),
|
|
14
|
-
import('./add-user.mjs'),
|
|
15
|
-
import('./remove-user.mjs')
|
|
16
|
-
]);
|
|
17
|
-
|
|
18
|
-
export { project as default };
|
package/dist/chunks/index3.mjs
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { B as BeeCommand } from '../shared/bee.KteAW2rM.mjs';
|
|
2
|
-
import 'commander';
|
|
3
|
-
import 'consola/utils';
|
|
4
|
-
|
|
5
|
-
const issue = new BeeCommand("issue").summary("Manage Backlog issues");
|
|
6
|
-
await issue.addCommands([
|
|
7
|
-
import('./list2.mjs'),
|
|
8
|
-
import('./view2.mjs'),
|
|
9
|
-
import('./status2.mjs'),
|
|
10
|
-
import('./create2.mjs'),
|
|
11
|
-
import('./edit2.mjs'),
|
|
12
|
-
import('./close.mjs'),
|
|
13
|
-
import('./reopen.mjs'),
|
|
14
|
-
import('./attachments.mjs'),
|
|
15
|
-
import('./comment.mjs'),
|
|
16
|
-
import('./count.mjs'),
|
|
17
|
-
import('./delete2.mjs')
|
|
18
|
-
]);
|
|
19
|
-
|
|
20
|
-
export { issue as default };
|
package/dist/chunks/index4.mjs
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { B as BeeCommand } from '../shared/bee.KteAW2rM.mjs';
|
|
2
|
-
import 'commander';
|
|
3
|
-
import 'consola/utils';
|
|
4
|
-
|
|
5
|
-
const document = new BeeCommand("document").summary("Manage Backlog documents");
|
|
6
|
-
await document.addCommands([
|
|
7
|
-
import('./list3.mjs'),
|
|
8
|
-
import('./view3.mjs'),
|
|
9
|
-
import('./tree.mjs'),
|
|
10
|
-
import('./attachments2.mjs'),
|
|
11
|
-
import('./create3.mjs'),
|
|
12
|
-
import('./delete3.mjs')
|
|
13
|
-
]);
|
|
14
|
-
|
|
15
|
-
export { document as default };
|