@nulab/bee 1.0.0 → 1.1.1
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/chunks/activities.mjs +12 -29
- package/dist/chunks/activities2.mjs +12 -29
- package/dist/chunks/activities3.mjs +12 -29
- package/dist/chunks/add-user.mjs +9 -11
- package/dist/chunks/add.mjs +9 -11
- package/dist/chunks/add2.mjs +9 -11
- package/dist/chunks/api.mjs +51 -18
- package/dist/chunks/attachments.mjs +11 -13
- package/dist/chunks/attachments2.mjs +11 -13
- package/dist/chunks/attachments3.mjs +11 -13
- package/dist/chunks/browse.mjs +7 -9
- package/dist/chunks/clone.mjs +9 -11
- package/dist/chunks/close.mjs +9 -11
- package/dist/chunks/comment.mjs +8 -10
- package/dist/chunks/comment2.mjs +11 -13
- package/dist/chunks/comments.mjs +9 -11
- package/dist/chunks/completion.mjs +52 -57
- package/dist/chunks/count.mjs +11 -18
- package/dist/chunks/count2.mjs +9 -11
- package/dist/chunks/count3.mjs +10 -12
- package/dist/chunks/count4.mjs +9 -11
- package/dist/chunks/count5.mjs +9 -11
- package/dist/chunks/create.mjs +6 -8
- package/dist/chunks/create2.mjs +10 -12
- package/dist/chunks/create3.mjs +8 -10
- package/dist/chunks/create4.mjs +7 -9
- package/dist/chunks/create5.mjs +8 -10
- package/dist/chunks/create6.mjs +6 -8
- package/dist/chunks/create7.mjs +6 -8
- package/dist/chunks/create8.mjs +6 -8
- package/dist/chunks/create9.mjs +6 -8
- package/dist/chunks/dashboard.mjs +11 -13
- package/dist/chunks/delete.mjs +6 -8
- package/dist/chunks/delete2.mjs +6 -8
- package/dist/chunks/delete3.mjs +6 -8
- package/dist/chunks/delete4.mjs +6 -8
- package/dist/chunks/delete5.mjs +6 -8
- package/dist/chunks/delete6.mjs +6 -8
- package/dist/chunks/delete7.mjs +6 -8
- package/dist/chunks/delete8.mjs +6 -8
- package/dist/chunks/delete9.mjs +6 -8
- package/dist/chunks/edit.mjs +9 -11
- package/dist/chunks/edit2.mjs +10 -12
- package/dist/chunks/edit3.mjs +10 -12
- package/dist/chunks/edit4.mjs +9 -11
- package/dist/chunks/edit5.mjs +6 -8
- package/dist/chunks/edit6.mjs +9 -11
- package/dist/chunks/edit7.mjs +9 -11
- package/dist/chunks/edit8.mjs +9 -11
- package/dist/chunks/history.mjs +11 -13
- package/dist/chunks/index.mjs +1 -1
- package/dist/chunks/index10.mjs +1 -1
- package/dist/chunks/index11.mjs +1 -1
- package/dist/chunks/index12.mjs +1 -1
- package/dist/chunks/index13.mjs +1 -1
- package/dist/chunks/index14.mjs +1 -1
- package/dist/chunks/index15.mjs +1 -1
- package/dist/chunks/index16.mjs +1 -1
- package/dist/chunks/index17.mjs +1 -1
- package/dist/chunks/index2.mjs +1 -1
- package/dist/chunks/index3.mjs +1 -1
- package/dist/chunks/index4.mjs +1 -1
- package/dist/chunks/index5.mjs +1 -1
- package/dist/chunks/index6.mjs +1 -1
- package/dist/chunks/index7.mjs +1 -1
- package/dist/chunks/index8.mjs +1 -1
- package/dist/chunks/index9.mjs +1 -1
- package/dist/chunks/list.mjs +11 -13
- package/dist/chunks/list10.mjs +11 -13
- package/dist/chunks/list11.mjs +11 -13
- package/dist/chunks/list12.mjs +11 -13
- package/dist/chunks/list13.mjs +11 -13
- package/dist/chunks/list14.mjs +11 -13
- package/dist/chunks/list15.mjs +11 -13
- package/dist/chunks/list2.mjs +13 -20
- package/dist/chunks/list3.mjs +12 -14
- package/dist/chunks/list4.mjs +11 -13
- package/dist/chunks/list5.mjs +12 -14
- package/dist/chunks/list6.mjs +11 -13
- package/dist/chunks/list7.mjs +11 -13
- package/dist/chunks/list8.mjs +11 -13
- package/dist/chunks/list9.mjs +11 -13
- package/dist/chunks/login.mjs +18 -9
- package/dist/chunks/logout.mjs +9 -5
- package/dist/chunks/me.mjs +11 -13
- package/dist/chunks/read-all.mjs +9 -11
- package/dist/chunks/read.mjs +9 -11
- package/dist/chunks/read2.mjs +9 -11
- package/dist/chunks/refresh.mjs +5 -7
- package/dist/chunks/remove-user.mjs +9 -11
- package/dist/chunks/remove.mjs +9 -11
- package/dist/chunks/reopen.mjs +9 -11
- package/dist/chunks/status.mjs +9 -6
- package/dist/chunks/status2.mjs +9 -11
- package/dist/chunks/status3.mjs +9 -11
- package/dist/chunks/switch.mjs +8 -4
- package/dist/chunks/tags.mjs +9 -11
- package/dist/chunks/token.mjs +9 -5
- package/dist/chunks/tree.mjs +9 -11
- package/dist/chunks/users.mjs +11 -13
- package/dist/chunks/view.mjs +11 -13
- package/dist/chunks/view2.mjs +14 -15
- package/dist/chunks/view3.mjs +12 -14
- package/dist/chunks/view4.mjs +11 -13
- package/dist/chunks/view5.mjs +11 -13
- package/dist/chunks/view6.mjs +11 -13
- package/dist/chunks/view7.mjs +11 -13
- package/dist/chunks/view8.mjs +11 -13
- package/dist/chunks/view9.mjs +11 -13
- package/dist/index.mjs +37751 -37
- package/dist/shared/{bee.PF8hrVKn.mjs → bee.084B_7FC.mjs} +1 -1
- package/dist/shared/{bee.D6yQ6Pqf.mjs → bee.C4p7W8_P.mjs} +1 -1
- package/dist/shared/{bee.DxRKWv6n.mjs → bee.CAARNIp6.mjs} +1 -1
- package/dist/shared/{bee.Bt1TK6yh.mjs → bee.CHtg3F43.mjs} +46 -7
- package/dist/shared/{bee.CCNmDHVv.mjs → bee.CirccSk2.mjs} +19 -1
- package/dist/shared/{bee.Ds2l-nTJ.mjs → bee.DFnSWb6q.mjs} +101 -13
- package/dist/shared/{bee.bmiIlr9W.mjs → bee.KteAW2rM.mjs} +12 -2
- package/dist/shared/{bee.OJ0vqxJN.mjs → bee.RsR9yniy.mjs} +10 -4
- package/dist/shared/{bee.IM3QELRf.mjs → bee.a05kNWpn.mjs} +1 -1
- package/dist/shared/{bee.G4d7izLe.mjs → bee.q93n012-.mjs} +1 -1
- package/package.json +12 -10
- package/dist/shared/bee.BYqxm3yG.mjs +0 -24
- package/dist/shared/bee.BeQSH2t0.mjs +0 -25
- package/dist/shared/bee.BtxMsVL4.mjs +0 -35104
package/dist/chunks/read.mjs
CHANGED
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
import consola from 'consola';
|
|
2
2
|
import 'node:stream/consumers';
|
|
3
3
|
import 'valibot';
|
|
4
|
-
import { p as parseArg, v as vInteger } from '../
|
|
5
|
-
import { g as getClient } from '../shared/bee.
|
|
4
|
+
import { p as parseArg, v as vInteger } from '../index.mjs';
|
|
5
|
+
import { g as getClient } from '../shared/bee.RsR9yniy.mjs';
|
|
6
6
|
import 'backlog-js';
|
|
7
7
|
import 'node:http';
|
|
8
8
|
import 'open';
|
|
9
9
|
import 'node:child_process';
|
|
10
|
-
import '../shared/bee.
|
|
11
|
-
import {
|
|
12
|
-
import { s as space } from '../shared/bee.Bt1TK6yh.mjs';
|
|
13
|
-
import '../shared/bee.CktwmH8R.mjs';
|
|
14
|
-
import '../shared/bee.DxRKWv6n.mjs';
|
|
15
|
-
import 'node:module';
|
|
16
|
-
import 'commander';
|
|
17
|
-
import 'consola/utils';
|
|
10
|
+
import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.KteAW2rM.mjs';
|
|
11
|
+
import { s as space } from '../shared/bee.CHtg3F43.mjs';
|
|
18
12
|
import 'node:fs';
|
|
19
13
|
import 'node:path';
|
|
20
14
|
import 'node:os';
|
|
21
|
-
import '
|
|
15
|
+
import 'node:module';
|
|
16
|
+
import 'commander';
|
|
17
|
+
import 'consola/utils';
|
|
18
|
+
import '../shared/bee.CktwmH8R.mjs';
|
|
19
|
+
import '../shared/bee.CAARNIp6.mjs';
|
|
22
20
|
|
|
23
21
|
const read = new BeeCommand("read").summary("Mark a notification as read").description(`Use \`bee notification list\` to find notification IDs.`).argument("<id>", "Notification ID").addOption(space()).envVars([...ENV_AUTH]).examples([
|
|
24
22
|
{ description: "Mark a notification as read", command: "bee notification read 12345" }
|
package/dist/chunks/read2.mjs
CHANGED
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
import consola from 'consola';
|
|
2
2
|
import 'node:stream/consumers';
|
|
3
3
|
import 'valibot';
|
|
4
|
-
import { p as parseArg, v as vInteger } from '../
|
|
5
|
-
import { g as getClient } from '../shared/bee.
|
|
4
|
+
import { p as parseArg, v as vInteger } from '../index.mjs';
|
|
5
|
+
import { g as getClient } from '../shared/bee.RsR9yniy.mjs';
|
|
6
6
|
import 'backlog-js';
|
|
7
7
|
import 'node:http';
|
|
8
8
|
import 'open';
|
|
9
9
|
import 'node:child_process';
|
|
10
|
-
import '../shared/bee.
|
|
11
|
-
import {
|
|
12
|
-
import { s as space } from '../shared/bee.Bt1TK6yh.mjs';
|
|
13
|
-
import '../shared/bee.CktwmH8R.mjs';
|
|
14
|
-
import '../shared/bee.DxRKWv6n.mjs';
|
|
15
|
-
import 'node:module';
|
|
16
|
-
import 'commander';
|
|
17
|
-
import 'consola/utils';
|
|
10
|
+
import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.KteAW2rM.mjs';
|
|
11
|
+
import { s as space } from '../shared/bee.CHtg3F43.mjs';
|
|
18
12
|
import 'node:fs';
|
|
19
13
|
import 'node:path';
|
|
20
14
|
import 'node:os';
|
|
21
|
-
import '
|
|
15
|
+
import 'node:module';
|
|
16
|
+
import 'commander';
|
|
17
|
+
import 'consola/utils';
|
|
18
|
+
import '../shared/bee.CktwmH8R.mjs';
|
|
19
|
+
import '../shared/bee.CAARNIp6.mjs';
|
|
22
20
|
|
|
23
21
|
const read = new BeeCommand("read").summary("Mark a watching item as read").description(`Use \`bee watching list\` to find watching IDs.`).argument("<watching>", "Watching ID").addOption(space()).envVars([...ENV_AUTH]).examples([{ description: "Mark a watching item as read", command: "bee watching read 12345" }]).action(async (watching, opts) => {
|
|
24
22
|
const { client } = await getClient(opts.space);
|
package/dist/chunks/refresh.mjs
CHANGED
|
@@ -1,22 +1,20 @@
|
|
|
1
1
|
import consola from 'consola';
|
|
2
|
-
import { U as UserError } from '../
|
|
2
|
+
import { U as UserError } from '../index.mjs';
|
|
3
3
|
import 'node:stream/consumers';
|
|
4
4
|
import 'valibot';
|
|
5
5
|
import { Backlog } from 'backlog-js';
|
|
6
6
|
import { r as refreshAccessToken } from '../shared/bee.CktwmH8R.mjs';
|
|
7
|
-
import { s as space, l as loadConfig } from '../shared/bee.
|
|
8
|
-
import { f as findSpace, u as updateSpaceAuth } from '../shared/bee.
|
|
7
|
+
import { s as space, l as loadConfig } from '../shared/bee.CHtg3F43.mjs';
|
|
8
|
+
import { f as findSpace, u as updateSpaceAuth } from '../shared/bee.CAARNIp6.mjs';
|
|
9
9
|
import 'node:http';
|
|
10
10
|
import 'open';
|
|
11
11
|
import 'node:child_process';
|
|
12
|
-
import '../shared/bee.
|
|
13
|
-
import { B as BeeCommand } from '../shared/bee.bmiIlr9W.mjs';
|
|
12
|
+
import { B as BeeCommand } from '../shared/bee.KteAW2rM.mjs';
|
|
14
13
|
import 'node:fs';
|
|
15
14
|
import 'node:path';
|
|
16
15
|
import 'node:os';
|
|
17
|
-
import '../shared/bee.BeQSH2t0.mjs';
|
|
18
|
-
import 'commander';
|
|
19
16
|
import 'node:module';
|
|
17
|
+
import 'commander';
|
|
20
18
|
import 'consola/utils';
|
|
21
19
|
|
|
22
20
|
const refresh = new BeeCommand("refresh").summary("Refresh OAuth token").description(
|
|
@@ -2,24 +2,22 @@ import consola from 'consola';
|
|
|
2
2
|
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
3
3
|
import 'node:stream/consumers';
|
|
4
4
|
import 'valibot';
|
|
5
|
-
import { p as parseArg, v as vInteger } from '../
|
|
6
|
-
import { g as getClient } from '../shared/bee.
|
|
5
|
+
import { p as parseArg, v as vInteger } from '../index.mjs';
|
|
6
|
+
import { g as getClient } from '../shared/bee.RsR9yniy.mjs';
|
|
7
7
|
import 'backlog-js';
|
|
8
8
|
import 'node:http';
|
|
9
9
|
import 'open';
|
|
10
10
|
import 'node:child_process';
|
|
11
|
-
import '../shared/bee.
|
|
12
|
-
import {
|
|
13
|
-
import { p as project, R as RequiredOption, j as json, s as space, r as resolveOptions } from '../shared/bee.Bt1TK6yh.mjs';
|
|
14
|
-
import '../shared/bee.CktwmH8R.mjs';
|
|
15
|
-
import '../shared/bee.DxRKWv6n.mjs';
|
|
16
|
-
import 'node:module';
|
|
17
|
-
import 'commander';
|
|
18
|
-
import 'consola/utils';
|
|
11
|
+
import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
|
|
12
|
+
import { d as project, R as RequiredOption, j as json, s as space, r as resolveOptions } from '../shared/bee.CHtg3F43.mjs';
|
|
19
13
|
import 'node:fs';
|
|
20
14
|
import 'node:path';
|
|
21
15
|
import 'node:os';
|
|
22
|
-
import '
|
|
16
|
+
import 'node:module';
|
|
17
|
+
import 'commander';
|
|
18
|
+
import 'consola/utils';
|
|
19
|
+
import '../shared/bee.CktwmH8R.mjs';
|
|
20
|
+
import '../shared/bee.CAARNIp6.mjs';
|
|
23
21
|
|
|
24
22
|
const removeUser = new BeeCommand("remove-user").summary("Remove a user from a project").description(`Use \`bee project users\` to look up user IDs.`).addOption(project()).addOption(new RequiredOption("--user-id <id>", "User ID")).addOption(json()).addOption(space()).envVars([...ENV_AUTH, ENV_PROJECT]).examples([
|
|
25
23
|
{
|
package/dist/chunks/remove.mjs
CHANGED
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
import consola from 'consola';
|
|
2
2
|
import 'node:stream/consumers';
|
|
3
3
|
import 'valibot';
|
|
4
|
-
import { p as parseArg, v as vInteger } from '../
|
|
5
|
-
import { g as getClient } from '../shared/bee.
|
|
4
|
+
import { p as parseArg, v as vInteger } from '../index.mjs';
|
|
5
|
+
import { g as getClient } from '../shared/bee.RsR9yniy.mjs';
|
|
6
6
|
import 'backlog-js';
|
|
7
7
|
import 'node:http';
|
|
8
8
|
import 'open';
|
|
9
9
|
import 'node:child_process';
|
|
10
|
-
import '../shared/bee.
|
|
11
|
-
import {
|
|
12
|
-
import { s as space } from '../shared/bee.Bt1TK6yh.mjs';
|
|
13
|
-
import '../shared/bee.CktwmH8R.mjs';
|
|
14
|
-
import '../shared/bee.DxRKWv6n.mjs';
|
|
15
|
-
import 'node:module';
|
|
16
|
-
import 'commander';
|
|
17
|
-
import 'consola/utils';
|
|
10
|
+
import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.KteAW2rM.mjs';
|
|
11
|
+
import { s as space } from '../shared/bee.CHtg3F43.mjs';
|
|
18
12
|
import 'node:fs';
|
|
19
13
|
import 'node:path';
|
|
20
14
|
import 'node:os';
|
|
21
|
-
import '
|
|
15
|
+
import 'node:module';
|
|
16
|
+
import 'commander';
|
|
17
|
+
import 'consola/utils';
|
|
18
|
+
import '../shared/bee.CktwmH8R.mjs';
|
|
19
|
+
import '../shared/bee.CAARNIp6.mjs';
|
|
22
20
|
|
|
23
21
|
const remove = new BeeCommand("remove").summary("Remove a star").description(`Use \`bee star list\` to find star IDs.`).argument("<star>", "Star ID").addOption(space()).envVars([...ENV_AUTH]).examples([{ description: "Remove a star", command: "bee star remove 12345" }]).action(async (star, opts) => {
|
|
24
22
|
const { client } = await getClient(opts.space);
|
package/dist/chunks/reopen.mjs
CHANGED
|
@@ -3,24 +3,22 @@ import { I as IssueStatusId } from '../shared/bee.Btmq3TXs.mjs';
|
|
|
3
3
|
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
4
4
|
import 'node:stream/consumers';
|
|
5
5
|
import 'valibot';
|
|
6
|
-
import '../
|
|
7
|
-
import { g as getClient } from '../shared/bee.
|
|
6
|
+
import '../index.mjs';
|
|
7
|
+
import { g as getClient } from '../shared/bee.RsR9yniy.mjs';
|
|
8
8
|
import 'backlog-js';
|
|
9
9
|
import 'node:http';
|
|
10
10
|
import 'open';
|
|
11
11
|
import 'node:child_process';
|
|
12
|
-
import '../shared/bee.
|
|
13
|
-
import {
|
|
14
|
-
import { t as notify, j as json, s as space } from '../shared/bee.Bt1TK6yh.mjs';
|
|
15
|
-
import '../shared/bee.CktwmH8R.mjs';
|
|
16
|
-
import '../shared/bee.DxRKWv6n.mjs';
|
|
17
|
-
import 'node:module';
|
|
18
|
-
import 'commander';
|
|
19
|
-
import 'consola/utils';
|
|
12
|
+
import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.KteAW2rM.mjs';
|
|
13
|
+
import { x as notify, j as json, s as space } from '../shared/bee.CHtg3F43.mjs';
|
|
20
14
|
import 'node:fs';
|
|
21
15
|
import 'node:path';
|
|
22
16
|
import 'node:os';
|
|
23
|
-
import '
|
|
17
|
+
import 'node:module';
|
|
18
|
+
import 'commander';
|
|
19
|
+
import 'consola/utils';
|
|
20
|
+
import '../shared/bee.CktwmH8R.mjs';
|
|
21
|
+
import '../shared/bee.CAARNIp6.mjs';
|
|
24
22
|
|
|
25
23
|
const reopen = new BeeCommand("reopen").summary("Reopen an issue").description(`Sets the status back to Open.`).argument("<issue>", "Issue ID or issue key").option("-c, --comment <text>", "Comment to add when reopening").addOption(notify()).addOption(json()).addOption(space()).envVars([...ENV_AUTH]).examples([
|
|
26
24
|
{ description: "Reopen an issue", command: "bee issue reopen PROJECT-123" },
|
package/dist/chunks/status.mjs
CHANGED
|
@@ -1,18 +1,21 @@
|
|
|
1
|
-
import { s as space, l as loadConfig } from '../shared/bee.
|
|
1
|
+
import { s as space, l as loadConfig } from '../shared/bee.CHtg3F43.mjs';
|
|
2
|
+
import '../index.mjs';
|
|
2
3
|
import { Backlog } from 'backlog-js';
|
|
3
4
|
import consola from 'consola';
|
|
4
5
|
import 'node:stream/consumers';
|
|
5
6
|
import 'valibot';
|
|
6
|
-
import '../shared/bee.
|
|
7
|
-
import {
|
|
8
|
-
import { B as BeeCommand } from '../shared/bee.bmiIlr9W.mjs';
|
|
7
|
+
import { p as printDefinitionList } from '../shared/bee.C4p7W8_P.mjs';
|
|
8
|
+
import { B as BeeCommand } from '../shared/bee.KteAW2rM.mjs';
|
|
9
9
|
import 'node:fs';
|
|
10
10
|
import 'node:path';
|
|
11
11
|
import 'node:os';
|
|
12
|
-
import '../shared/bee.BeQSH2t0.mjs';
|
|
13
12
|
import 'commander';
|
|
14
|
-
import '
|
|
13
|
+
import 'node:http';
|
|
14
|
+
import 'open';
|
|
15
|
+
import 'node:child_process';
|
|
16
|
+
import 'node:module';
|
|
15
17
|
import 'consola/utils';
|
|
18
|
+
import '../shared/bee.DFnSWb6q.mjs';
|
|
16
19
|
|
|
17
20
|
const getToken = (auth) => auth.method === "api-key" ? auth.apiKey : auth.accessToken;
|
|
18
21
|
const status = new BeeCommand("status").summary("Show authentication status").description(
|
package/dist/chunks/status2.mjs
CHANGED
|
@@ -2,24 +2,22 @@ import consola from 'consola';
|
|
|
2
2
|
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
3
3
|
import 'node:stream/consumers';
|
|
4
4
|
import 'valibot';
|
|
5
|
-
import '../
|
|
6
|
-
import { g as getClient } from '../shared/bee.
|
|
5
|
+
import '../index.mjs';
|
|
6
|
+
import { g as getClient } from '../shared/bee.RsR9yniy.mjs';
|
|
7
7
|
import 'backlog-js';
|
|
8
8
|
import 'node:http';
|
|
9
9
|
import 'open';
|
|
10
10
|
import 'node:child_process';
|
|
11
|
-
import '../shared/bee.
|
|
12
|
-
import {
|
|
13
|
-
import { j as json, s as space } from '../shared/bee.Bt1TK6yh.mjs';
|
|
14
|
-
import '../shared/bee.CktwmH8R.mjs';
|
|
15
|
-
import '../shared/bee.DxRKWv6n.mjs';
|
|
16
|
-
import 'node:module';
|
|
17
|
-
import 'commander';
|
|
18
|
-
import 'consola/utils';
|
|
11
|
+
import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.KteAW2rM.mjs';
|
|
12
|
+
import { j as json, s as space } from '../shared/bee.CHtg3F43.mjs';
|
|
19
13
|
import 'node:fs';
|
|
20
14
|
import 'node:path';
|
|
21
15
|
import 'node:os';
|
|
22
|
-
import '
|
|
16
|
+
import 'node:module';
|
|
17
|
+
import 'commander';
|
|
18
|
+
import 'consola/utils';
|
|
19
|
+
import '../shared/bee.CktwmH8R.mjs';
|
|
20
|
+
import '../shared/bee.CAARNIp6.mjs';
|
|
23
21
|
|
|
24
22
|
const status = new BeeCommand("status").summary("Show issue status summary for yourself").description(
|
|
25
23
|
`Displays your assigned issues grouped by status (e.g., Open, In Progress, Resolved).`
|
package/dist/chunks/status3.mjs
CHANGED
|
@@ -3,24 +3,22 @@ import { b as PrStatusId } from '../shared/bee.DoTvz3uW.mjs';
|
|
|
3
3
|
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
4
4
|
import 'node:stream/consumers';
|
|
5
5
|
import 'valibot';
|
|
6
|
-
import '../
|
|
7
|
-
import { g as getClient } from '../shared/bee.
|
|
6
|
+
import '../index.mjs';
|
|
7
|
+
import { g as getClient } from '../shared/bee.RsR9yniy.mjs';
|
|
8
8
|
import 'backlog-js';
|
|
9
9
|
import 'node:http';
|
|
10
10
|
import 'open';
|
|
11
11
|
import 'node:child_process';
|
|
12
|
-
import '../shared/bee.
|
|
13
|
-
import {
|
|
14
|
-
import { p as project, B as repo, j as json, s as space, r as resolveOptions } from '../shared/bee.Bt1TK6yh.mjs';
|
|
15
|
-
import '../shared/bee.CktwmH8R.mjs';
|
|
16
|
-
import '../shared/bee.DxRKWv6n.mjs';
|
|
17
|
-
import 'node:module';
|
|
18
|
-
import 'commander';
|
|
19
|
-
import 'consola/utils';
|
|
12
|
+
import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT, b as ENV_REPO } from '../shared/bee.KteAW2rM.mjs';
|
|
13
|
+
import { d as project, C as repo, j as json, s as space, r as resolveOptions } from '../shared/bee.CHtg3F43.mjs';
|
|
20
14
|
import 'node:fs';
|
|
21
15
|
import 'node:path';
|
|
22
16
|
import 'node:os';
|
|
23
|
-
import '
|
|
17
|
+
import 'node:module';
|
|
18
|
+
import 'commander';
|
|
19
|
+
import 'consola/utils';
|
|
20
|
+
import '../shared/bee.CktwmH8R.mjs';
|
|
21
|
+
import '../shared/bee.CAARNIp6.mjs';
|
|
24
22
|
|
|
25
23
|
const status = new BeeCommand("status").summary("Show pull request status summary for yourself").description(`Displays your assigned pull requests grouped by status (Open, Closed, Merged).`).addOption(project()).addOption(repo()).addOption(json()).addOption(space()).envVars([...ENV_AUTH, ENV_PROJECT, ENV_REPO]).examples([
|
|
26
24
|
{
|
package/dist/chunks/switch.mjs
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import consola from 'consola';
|
|
2
|
-
import { U as UserError } from '../
|
|
2
|
+
import { U as UserError } from '../index.mjs';
|
|
3
3
|
import 'node:stream/consumers';
|
|
4
4
|
import 'valibot';
|
|
5
|
-
import { s as space, l as loadConfig, b as writeConfig } from '../shared/bee.
|
|
6
|
-
import { B as BeeCommand } from '../shared/bee.
|
|
5
|
+
import { s as space, l as loadConfig, b as writeConfig } from '../shared/bee.CHtg3F43.mjs';
|
|
6
|
+
import { B as BeeCommand } from '../shared/bee.KteAW2rM.mjs';
|
|
7
|
+
import 'backlog-js';
|
|
7
8
|
import 'node:fs';
|
|
8
9
|
import 'node:path';
|
|
9
10
|
import 'node:os';
|
|
10
|
-
import '
|
|
11
|
+
import 'node:http';
|
|
12
|
+
import 'open';
|
|
13
|
+
import 'node:child_process';
|
|
14
|
+
import 'node:module';
|
|
11
15
|
import 'commander';
|
|
12
16
|
import 'consola/utils';
|
|
13
17
|
|
package/dist/chunks/tags.mjs
CHANGED
|
@@ -2,24 +2,22 @@ import consola from 'consola';
|
|
|
2
2
|
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
3
3
|
import 'node:stream/consumers';
|
|
4
4
|
import 'valibot';
|
|
5
|
-
import '../
|
|
6
|
-
import { g as getClient } from '../shared/bee.
|
|
5
|
+
import '../index.mjs';
|
|
6
|
+
import { g as getClient } from '../shared/bee.RsR9yniy.mjs';
|
|
7
7
|
import 'backlog-js';
|
|
8
8
|
import 'node:http';
|
|
9
9
|
import 'open';
|
|
10
10
|
import 'node:child_process';
|
|
11
|
-
import '../shared/bee.
|
|
12
|
-
import {
|
|
13
|
-
import { p as project, j as json, s as space, r as resolveOptions } from '../shared/bee.Bt1TK6yh.mjs';
|
|
14
|
-
import '../shared/bee.CktwmH8R.mjs';
|
|
15
|
-
import '../shared/bee.DxRKWv6n.mjs';
|
|
16
|
-
import 'node:module';
|
|
17
|
-
import 'commander';
|
|
18
|
-
import 'consola/utils';
|
|
11
|
+
import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
|
|
12
|
+
import { d as project, j as json, s as space, r as resolveOptions } from '../shared/bee.CHtg3F43.mjs';
|
|
19
13
|
import 'node:fs';
|
|
20
14
|
import 'node:path';
|
|
21
15
|
import 'node:os';
|
|
22
|
-
import '
|
|
16
|
+
import 'node:module';
|
|
17
|
+
import 'commander';
|
|
18
|
+
import 'consola/utils';
|
|
19
|
+
import '../shared/bee.CktwmH8R.mjs';
|
|
20
|
+
import '../shared/bee.CAARNIp6.mjs';
|
|
23
21
|
|
|
24
22
|
const tags = new BeeCommand("tags").summary("List wiki tags").description(`Tags are labels attached to wiki pages for organization.`).addOption(project()).addOption(json()).addOption(space()).envVars([...ENV_AUTH, ENV_PROJECT]).examples([
|
|
25
23
|
{ description: "List wiki tags", command: "bee wiki tags -p PROJECT" },
|
package/dist/chunks/token.mjs
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import 'consola';
|
|
2
|
-
import { U as UserError } from '../
|
|
2
|
+
import { U as UserError } from '../index.mjs';
|
|
3
3
|
import 'node:stream/consumers';
|
|
4
4
|
import 'valibot';
|
|
5
|
-
import { s as space, l as loadConfig } from '../shared/bee.
|
|
6
|
-
import { f as findSpace } from '../shared/bee.
|
|
7
|
-
import { B as BeeCommand } from '../shared/bee.
|
|
5
|
+
import { s as space, l as loadConfig } from '../shared/bee.CHtg3F43.mjs';
|
|
6
|
+
import { f as findSpace } from '../shared/bee.CAARNIp6.mjs';
|
|
7
|
+
import { B as BeeCommand } from '../shared/bee.KteAW2rM.mjs';
|
|
8
|
+
import 'backlog-js';
|
|
8
9
|
import 'node:fs';
|
|
9
10
|
import 'node:path';
|
|
10
11
|
import 'node:os';
|
|
11
|
-
import '
|
|
12
|
+
import 'node:http';
|
|
13
|
+
import 'open';
|
|
14
|
+
import 'node:child_process';
|
|
15
|
+
import 'node:module';
|
|
12
16
|
import 'commander';
|
|
13
17
|
import 'consola/utils';
|
|
14
18
|
|
package/dist/chunks/tree.mjs
CHANGED
|
@@ -2,24 +2,22 @@ import consola from 'consola';
|
|
|
2
2
|
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
3
3
|
import 'node:stream/consumers';
|
|
4
4
|
import 'valibot';
|
|
5
|
-
import '../
|
|
6
|
-
import { g as getClient } from '../shared/bee.
|
|
5
|
+
import '../index.mjs';
|
|
6
|
+
import { g as getClient } from '../shared/bee.RsR9yniy.mjs';
|
|
7
7
|
import 'backlog-js';
|
|
8
8
|
import 'node:http';
|
|
9
9
|
import 'open';
|
|
10
10
|
import 'node:child_process';
|
|
11
|
-
import '../shared/bee.
|
|
12
|
-
import {
|
|
13
|
-
import { p as project, j as json, s as space, r as resolveOptions } from '../shared/bee.Bt1TK6yh.mjs';
|
|
14
|
-
import '../shared/bee.CktwmH8R.mjs';
|
|
15
|
-
import '../shared/bee.DxRKWv6n.mjs';
|
|
16
|
-
import 'node:module';
|
|
17
|
-
import 'commander';
|
|
18
|
-
import 'consola/utils';
|
|
11
|
+
import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
|
|
12
|
+
import { d as project, j as json, s as space, r as resolveOptions } from '../shared/bee.CHtg3F43.mjs';
|
|
19
13
|
import 'node:fs';
|
|
20
14
|
import 'node:path';
|
|
21
15
|
import 'node:os';
|
|
22
|
-
import '
|
|
16
|
+
import 'node:module';
|
|
17
|
+
import 'commander';
|
|
18
|
+
import 'consola/utils';
|
|
19
|
+
import '../shared/bee.CktwmH8R.mjs';
|
|
20
|
+
import '../shared/bee.CAARNIp6.mjs';
|
|
23
21
|
|
|
24
22
|
const renderNode = (node, prefix, isLast) => {
|
|
25
23
|
const connector = isLast ? "\u2514\u2500\u2500" : "\u251C\u2500\u2500";
|
package/dist/chunks/users.mjs
CHANGED
|
@@ -2,27 +2,25 @@ import consola from 'consola';
|
|
|
2
2
|
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
3
3
|
import 'node:stream/consumers';
|
|
4
4
|
import 'valibot';
|
|
5
|
-
import '../
|
|
6
|
-
import { p as printTable } from '../shared/bee.
|
|
5
|
+
import '../index.mjs';
|
|
6
|
+
import { p as printTable } from '../shared/bee.a05kNWpn.mjs';
|
|
7
7
|
import { R as ROLE_LABELS } from '../shared/bee.BXiuAfjJ.mjs';
|
|
8
|
-
import { g as getClient } from '../shared/bee.
|
|
8
|
+
import { g as getClient } from '../shared/bee.RsR9yniy.mjs';
|
|
9
9
|
import 'backlog-js';
|
|
10
10
|
import 'node:http';
|
|
11
11
|
import 'open';
|
|
12
12
|
import 'node:child_process';
|
|
13
|
-
import '../shared/bee.
|
|
14
|
-
import {
|
|
15
|
-
import { p as project, j as json, s as space, r as resolveOptions } from '../shared/bee.Bt1TK6yh.mjs';
|
|
16
|
-
import '../shared/bee.Ds2l-nTJ.mjs';
|
|
17
|
-
import '../shared/bee.CktwmH8R.mjs';
|
|
18
|
-
import '../shared/bee.DxRKWv6n.mjs';
|
|
19
|
-
import 'node:module';
|
|
20
|
-
import 'commander';
|
|
21
|
-
import 'consola/utils';
|
|
13
|
+
import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
|
|
14
|
+
import { d as project, j as json, s as space, r as resolveOptions } from '../shared/bee.CHtg3F43.mjs';
|
|
22
15
|
import 'node:fs';
|
|
23
16
|
import 'node:path';
|
|
24
17
|
import 'node:os';
|
|
25
|
-
import '
|
|
18
|
+
import 'node:module';
|
|
19
|
+
import 'commander';
|
|
20
|
+
import 'consola/utils';
|
|
21
|
+
import '../shared/bee.DFnSWb6q.mjs';
|
|
22
|
+
import '../shared/bee.CktwmH8R.mjs';
|
|
23
|
+
import '../shared/bee.CAARNIp6.mjs';
|
|
26
24
|
|
|
27
25
|
const users = new BeeCommand("users").summary("List project users").description(`Displays each member's ID, name, and role.`).addOption(project()).addOption(json()).addOption(space()).envVars([...ENV_AUTH, ENV_PROJECT]).examples([
|
|
28
26
|
{ description: "List project members", command: "bee project users -p PROJECT_KEY" },
|
package/dist/chunks/view.mjs
CHANGED
|
@@ -2,27 +2,25 @@ import consola from 'consola';
|
|
|
2
2
|
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
3
3
|
import 'node:stream/consumers';
|
|
4
4
|
import 'valibot';
|
|
5
|
-
import '../
|
|
6
|
-
import { p as printDefinitionList } from '../shared/bee.
|
|
7
|
-
import { g as getClient } from '../shared/bee.
|
|
5
|
+
import '../index.mjs';
|
|
6
|
+
import { p as printDefinitionList } from '../shared/bee.C4p7W8_P.mjs';
|
|
7
|
+
import { g as getClient } from '../shared/bee.RsR9yniy.mjs';
|
|
8
8
|
import 'backlog-js';
|
|
9
9
|
import 'node:http';
|
|
10
10
|
import { p as projectUrl, o as openOrPrintUrl } from '../shared/bee.CzKcWSES.mjs';
|
|
11
11
|
import 'node:child_process';
|
|
12
|
-
import '../shared/bee.
|
|
13
|
-
import {
|
|
14
|
-
import
|
|
15
|
-
import '
|
|
16
|
-
import '
|
|
17
|
-
import '../shared/bee.DxRKWv6n.mjs';
|
|
12
|
+
import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
|
|
13
|
+
import { d as project, w as web, n as noBrowser, j as json, s as space, r as resolveOptions } from '../shared/bee.CHtg3F43.mjs';
|
|
14
|
+
import 'node:fs';
|
|
15
|
+
import 'node:path';
|
|
16
|
+
import 'node:os';
|
|
18
17
|
import 'open';
|
|
19
18
|
import 'node:module';
|
|
20
19
|
import 'commander';
|
|
21
20
|
import 'consola/utils';
|
|
22
|
-
import '
|
|
23
|
-
import '
|
|
24
|
-
import '
|
|
25
|
-
import '../shared/bee.BeQSH2t0.mjs';
|
|
21
|
+
import '../shared/bee.DFnSWb6q.mjs';
|
|
22
|
+
import '../shared/bee.CktwmH8R.mjs';
|
|
23
|
+
import '../shared/bee.CAARNIp6.mjs';
|
|
26
24
|
|
|
27
25
|
const view = new BeeCommand("view").summary("View a project").description(`Use \`--web\` to open in the browser.`).addOption(project()).addOption(web("project")).addOption(noBrowser()).addOption(json()).addOption(space()).envVars([...ENV_AUTH, ENV_PROJECT]).examples([
|
|
28
26
|
{ description: "View project details", command: "bee project view -p PROJECT_KEY" },
|
package/dist/chunks/view2.mjs
CHANGED
|
@@ -2,29 +2,28 @@ import consola from 'consola';
|
|
|
2
2
|
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
3
3
|
import 'node:stream/consumers';
|
|
4
4
|
import 'valibot';
|
|
5
|
-
import '../
|
|
5
|
+
import '../index.mjs';
|
|
6
6
|
import { f as formatDate } from '../shared/bee.n5MYN4a6.mjs';
|
|
7
|
-
import { p as printDefinitionList } from '../shared/bee.
|
|
8
|
-
import { g as getClient } from '../shared/bee.
|
|
7
|
+
import { p as printDefinitionList } from '../shared/bee.C4p7W8_P.mjs';
|
|
8
|
+
import { g as getClient } from '../shared/bee.RsR9yniy.mjs';
|
|
9
9
|
import 'backlog-js';
|
|
10
10
|
import 'node:http';
|
|
11
11
|
import { o as openOrPrintUrl, i as issueUrl } from '../shared/bee.CzKcWSES.mjs';
|
|
12
12
|
import 'node:child_process';
|
|
13
|
-
import '../shared/bee.
|
|
14
|
-
import {
|
|
15
|
-
import
|
|
16
|
-
import '
|
|
17
|
-
import '
|
|
18
|
-
import '../shared/bee.DxRKWv6n.mjs';
|
|
13
|
+
import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.KteAW2rM.mjs';
|
|
14
|
+
import { w as web, n as noBrowser, j as json, s as space } from '../shared/bee.CHtg3F43.mjs';
|
|
15
|
+
import 'node:fs';
|
|
16
|
+
import 'node:path';
|
|
17
|
+
import 'node:os';
|
|
19
18
|
import 'open';
|
|
20
19
|
import 'node:module';
|
|
21
20
|
import 'commander';
|
|
22
21
|
import 'consola/utils';
|
|
23
|
-
import '
|
|
24
|
-
import '
|
|
25
|
-
import '
|
|
26
|
-
import '../shared/bee.BeQSH2t0.mjs';
|
|
22
|
+
import '../shared/bee.DFnSWb6q.mjs';
|
|
23
|
+
import '../shared/bee.CktwmH8R.mjs';
|
|
24
|
+
import '../shared/bee.CAARNIp6.mjs';
|
|
27
25
|
|
|
26
|
+
const formatHours = (hours) => hours === null || hours === void 0 ? void 0 : `${hours}h`;
|
|
28
27
|
const view = new BeeCommand("view").summary("View an issue").description(`Use \`--comments\` to include comments. Use \`--web\` to open in the browser.`).argument("<issue>", "Issue ID or issue key").option("--comments", "Include comments").addOption(web("issue")).addOption(noBrowser()).addOption(json()).addOption(space()).envVars([...ENV_AUTH]).examples([
|
|
29
28
|
{ description: "View issue details", command: "bee issue view PROJECT-123" },
|
|
30
29
|
{ description: "View with comments", command: "bee issue view PROJECT-123 --comments" },
|
|
@@ -53,8 +52,8 @@ const view = new BeeCommand("view").summary("View an issue").description(`Use \`
|
|
|
53
52
|
["Updated", formatDate(data.updated)],
|
|
54
53
|
["Start Date", data.startDate ? formatDate(data.startDate) : void 0],
|
|
55
54
|
["Due Date", data.dueDate ? formatDate(data.dueDate) : void 0],
|
|
56
|
-
["Estimated", data.estimatedHours
|
|
57
|
-
["Actual", data.actualHours
|
|
55
|
+
["Estimated", formatHours(data.estimatedHours)],
|
|
56
|
+
["Actual", formatHours(data.actualHours)],
|
|
58
57
|
[
|
|
59
58
|
"Categories",
|
|
60
59
|
data.category.length > 0 ? data.category.map((c) => c.name).join(", ") : void 0
|
package/dist/chunks/view3.mjs
CHANGED
|
@@ -1,31 +1,29 @@
|
|
|
1
1
|
import consola from 'consola';
|
|
2
2
|
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
3
|
-
import { U as UserError } from '../
|
|
3
|
+
import { U as UserError } from '../index.mjs';
|
|
4
4
|
import 'node:stream/consumers';
|
|
5
5
|
import 'valibot';
|
|
6
6
|
import { f as formatDate } from '../shared/bee.n5MYN4a6.mjs';
|
|
7
|
-
import { p as printDefinitionList } from '../shared/bee.
|
|
8
|
-
import { g as getClient } from '../shared/bee.
|
|
7
|
+
import { p as printDefinitionList } from '../shared/bee.C4p7W8_P.mjs';
|
|
8
|
+
import { g as getClient } from '../shared/bee.RsR9yniy.mjs';
|
|
9
9
|
import 'backlog-js';
|
|
10
10
|
import 'node:http';
|
|
11
11
|
import { f as documentUrl, o as openOrPrintUrl } from '../shared/bee.CzKcWSES.mjs';
|
|
12
12
|
import 'node:child_process';
|
|
13
|
-
import '../shared/bee.
|
|
14
|
-
import {
|
|
15
|
-
import
|
|
16
|
-
import '
|
|
17
|
-
import '
|
|
18
|
-
import '../shared/bee.DxRKWv6n.mjs';
|
|
13
|
+
import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
|
|
14
|
+
import { p as projectOptional, w as web, n as noBrowser, j as json, s as space } from '../shared/bee.CHtg3F43.mjs';
|
|
15
|
+
import 'node:fs';
|
|
16
|
+
import 'node:path';
|
|
17
|
+
import 'node:os';
|
|
19
18
|
import 'open';
|
|
20
19
|
import 'node:module';
|
|
21
20
|
import 'commander';
|
|
22
21
|
import 'consola/utils';
|
|
23
|
-
import '
|
|
24
|
-
import '
|
|
25
|
-
import '
|
|
26
|
-
import '../shared/bee.BeQSH2t0.mjs';
|
|
22
|
+
import '../shared/bee.DFnSWb6q.mjs';
|
|
23
|
+
import '../shared/bee.CktwmH8R.mjs';
|
|
24
|
+
import '../shared/bee.CAARNIp6.mjs';
|
|
27
25
|
|
|
28
|
-
const view = new BeeCommand("view").summary("View a document").description(`Use \`--web\` to open in the browser (\`--project\` is required for \`--web\`).`).argument("<document>", "Document ID").
|
|
26
|
+
const view = new BeeCommand("view").summary("View a document").description(`Use \`--web\` to open in the browser (\`--project\` is required for \`--web\`).`).argument("<document>", "Document ID").addOption(projectOptional("Project ID or project key (required for --web)")).addOption(web("document")).addOption(noBrowser()).addOption(json()).addOption(space()).envVars([...ENV_AUTH, ENV_PROJECT]).examples([
|
|
29
27
|
{ description: "View document details", command: "bee document view 12345" },
|
|
30
28
|
{
|
|
31
29
|
description: "Open document in browser",
|