@nulab/bee 1.0.0-rc.0 → 1.0.0-rc.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/dist/chunks/activities.mjs +13 -14
- package/dist/chunks/activities2.mjs +16 -17
- package/dist/chunks/activities3.mjs +15 -16
- package/dist/chunks/add-user.mjs +10 -14
- package/dist/chunks/add.mjs +15 -14
- package/dist/chunks/add2.mjs +9 -10
- package/dist/chunks/api.mjs +14 -13
- package/dist/chunks/attachments.mjs +11 -12
- package/dist/chunks/attachments2.mjs +11 -12
- package/dist/chunks/attachments3.mjs +12 -13
- package/dist/chunks/browse.mjs +10 -11
- package/dist/chunks/clone.mjs +9 -10
- package/dist/chunks/close.mjs +10 -11
- package/dist/chunks/comment.mjs +14 -13
- package/dist/chunks/comment2.mjs +12 -13
- package/dist/chunks/comments.mjs +14 -15
- package/dist/chunks/completion.mjs +1 -1
- package/dist/chunks/count.mjs +7 -8
- package/dist/chunks/count2.mjs +9 -10
- package/dist/chunks/count3.mjs +10 -11
- package/dist/chunks/count4.mjs +9 -10
- package/dist/chunks/count5.mjs +10 -11
- package/dist/chunks/create.mjs +9 -10
- package/dist/chunks/create2.mjs +18 -13
- package/dist/chunks/create3.mjs +10 -11
- package/dist/chunks/create4.mjs +14 -14
- package/dist/chunks/create5.mjs +10 -11
- package/dist/chunks/create6.mjs +9 -10
- package/dist/chunks/create7.mjs +9 -10
- package/dist/chunks/create8.mjs +9 -10
- package/dist/chunks/create9.mjs +9 -10
- package/dist/chunks/dashboard.mjs +12 -13
- package/dist/chunks/delete.mjs +8 -9
- package/dist/chunks/delete2.mjs +8 -9
- package/dist/chunks/delete3.mjs +8 -9
- package/dist/chunks/delete4.mjs +12 -10
- package/dist/chunks/delete5.mjs +12 -10
- package/dist/chunks/delete6.mjs +12 -10
- package/dist/chunks/delete7.mjs +19 -12
- package/dist/chunks/delete8.mjs +10 -11
- package/dist/chunks/delete9.mjs +9 -10
- package/dist/chunks/edit.mjs +9 -10
- package/dist/chunks/edit2.mjs +23 -18
- package/dist/chunks/edit3.mjs +15 -15
- package/dist/chunks/edit4.mjs +10 -11
- package/dist/chunks/edit5.mjs +15 -10
- package/dist/chunks/edit6.mjs +20 -17
- package/dist/chunks/edit7.mjs +17 -14
- package/dist/chunks/edit8.mjs +17 -14
- package/dist/chunks/history.mjs +16 -17
- package/dist/chunks/list.mjs +11 -12
- package/dist/chunks/list10.mjs +11 -12
- package/dist/chunks/list11.mjs +11 -12
- package/dist/chunks/list12.mjs +11 -12
- package/dist/chunks/list13.mjs +11 -12
- package/dist/chunks/list14.mjs +12 -13
- package/dist/chunks/list15.mjs +11 -12
- package/dist/chunks/list2.mjs +29 -16
- package/dist/chunks/list3.mjs +19 -20
- package/dist/chunks/list4.mjs +15 -16
- package/dist/chunks/list5.mjs +15 -16
- package/dist/chunks/list6.mjs +11 -12
- package/dist/chunks/list7.mjs +14 -15
- package/dist/chunks/list8.mjs +11 -12
- package/dist/chunks/list9.mjs +11 -12
- package/dist/chunks/login.mjs +27 -26
- package/dist/chunks/logout.mjs +3 -4
- package/dist/chunks/me.mjs +12 -13
- package/dist/chunks/read-all.mjs +8 -9
- package/dist/chunks/read.mjs +9 -10
- package/dist/chunks/read2.mjs +9 -10
- package/dist/chunks/refresh.mjs +3 -4
- package/dist/chunks/remove-user.mjs +10 -14
- package/dist/chunks/remove.mjs +9 -10
- package/dist/chunks/reopen.mjs +9 -10
- package/dist/chunks/status.mjs +3 -4
- package/dist/chunks/status2.mjs +9 -10
- package/dist/chunks/status3.mjs +9 -10
- package/dist/chunks/switch.mjs +2 -3
- package/dist/chunks/tags.mjs +9 -10
- package/dist/chunks/token.mjs +3 -4
- package/dist/chunks/tree.mjs +9 -10
- package/dist/chunks/users.mjs +11 -12
- package/dist/chunks/view.mjs +12 -13
- package/dist/chunks/view2.mjs +12 -13
- package/dist/chunks/view3.mjs +12 -13
- package/dist/chunks/view4.mjs +13 -14
- package/dist/chunks/view5.mjs +12 -13
- package/dist/chunks/view6.mjs +12 -13
- package/dist/chunks/view7.mjs +13 -14
- package/dist/chunks/view8.mjs +14 -15
- package/dist/chunks/view9.mjs +12 -13
- package/dist/index.mjs +4 -3
- package/dist/shared/{bee.DVTuFf-T.mjs → bee.B4OxR0DJ.mjs} +50 -2
- package/dist/shared/{bee.CThuQMit.mjs → bee.BCBBmkOy.mjs} +6 -5
- package/dist/shared/bee.BYqxm3yG.mjs +24 -0
- package/dist/shared/bee.G4d7izLe.mjs +14 -0
- package/dist/shared/{bee.sHWg0IFT.mjs → bee.PF8hrVKn.mjs} +8 -3
- package/dist/shared/{bee.-8tk76YJ.mjs → bee.riolf-_Y.mjs} +1 -1
- package/package.json +4 -5
- package/dist/shared/bee.ChBdZ0cH.mjs +0 -9
- package/dist/shared/bee.DHTPkjMh.mjs +0 -48
- package/dist/shared/bee.XxOB1Her.mjs +0 -8
package/dist/chunks/me.mjs
CHANGED
|
@@ -1,28 +1,27 @@
|
|
|
1
1
|
import consola from 'consola';
|
|
2
|
-
import { R as ROLE_LABELS } from '../shared/bee.BXiuAfjJ.mjs';
|
|
3
|
-
import { g as getClient } from '../shared/bee.CThuQMit.mjs';
|
|
4
|
-
import 'backlog-js';
|
|
5
|
-
import 'node:http';
|
|
6
|
-
import 'open';
|
|
7
|
-
import 'node:child_process';
|
|
8
2
|
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
9
3
|
import 'node:stream/consumers';
|
|
10
4
|
import 'valibot';
|
|
5
|
+
import '../shared/bee.BYqxm3yG.mjs';
|
|
11
6
|
import { f as formatDate } from '../shared/bee.n5MYN4a6.mjs';
|
|
12
7
|
import { p as printDefinitionList } from '../shared/bee.D6yQ6Pqf.mjs';
|
|
8
|
+
import { R as ROLE_LABELS } from '../shared/bee.BXiuAfjJ.mjs';
|
|
9
|
+
import { g as getClient } from '../shared/bee.BCBBmkOy.mjs';
|
|
10
|
+
import 'backlog-js';
|
|
11
|
+
import 'node:http';
|
|
12
|
+
import 'open';
|
|
13
|
+
import 'node:child_process';
|
|
13
14
|
import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.CQ3kBgas.mjs';
|
|
14
|
-
import { j as json, s as space } from '../shared/bee.
|
|
15
|
-
import '../shared/bee.
|
|
15
|
+
import { j as json, s as space } from '../shared/bee.B4OxR0DJ.mjs';
|
|
16
|
+
import '../shared/bee.Ds2l-nTJ.mjs';
|
|
16
17
|
import '../shared/bee.CktwmH8R.mjs';
|
|
17
|
-
import '../shared/bee.
|
|
18
|
+
import '../shared/bee.riolf-_Y.mjs';
|
|
19
|
+
import 'commander';
|
|
20
|
+
import 'consola/utils';
|
|
18
21
|
import 'node:fs';
|
|
19
22
|
import 'node:path';
|
|
20
23
|
import 'node:os';
|
|
21
24
|
import '../shared/bee.BeQSH2t0.mjs';
|
|
22
|
-
import '../shared/bee.-8tk76YJ.mjs';
|
|
23
|
-
import '../shared/bee.Ds2l-nTJ.mjs';
|
|
24
|
-
import 'commander';
|
|
25
|
-
import 'consola/utils';
|
|
26
25
|
|
|
27
26
|
const me = new BeeCommand("me").summary("View the authenticated user").description(`Shortcut for \`bee user view\` using the currently authenticated user.`).addOption(json()).addOption(space()).envVars([...ENV_AUTH]).examples([
|
|
28
27
|
{ description: "View your own profile", command: "bee user me" },
|
package/dist/chunks/read-all.mjs
CHANGED
|
@@ -1,23 +1,22 @@
|
|
|
1
1
|
import consola from 'consola';
|
|
2
|
-
import
|
|
2
|
+
import 'node:stream/consumers';
|
|
3
|
+
import 'valibot';
|
|
4
|
+
import '../shared/bee.BYqxm3yG.mjs';
|
|
5
|
+
import { g as getClient } from '../shared/bee.BCBBmkOy.mjs';
|
|
3
6
|
import 'backlog-js';
|
|
4
7
|
import 'node:http';
|
|
5
8
|
import 'open';
|
|
6
9
|
import 'node:child_process';
|
|
7
10
|
import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.CQ3kBgas.mjs';
|
|
8
|
-
import { s as space } from '../shared/bee.
|
|
9
|
-
import '../shared/bee.XxOB1Her.mjs';
|
|
10
|
-
import 'node:stream/consumers';
|
|
11
|
-
import 'valibot';
|
|
11
|
+
import { s as space } from '../shared/bee.B4OxR0DJ.mjs';
|
|
12
12
|
import '../shared/bee.CktwmH8R.mjs';
|
|
13
|
-
import '../shared/bee.
|
|
13
|
+
import '../shared/bee.riolf-_Y.mjs';
|
|
14
|
+
import 'commander';
|
|
15
|
+
import 'consola/utils';
|
|
14
16
|
import 'node:fs';
|
|
15
17
|
import 'node:path';
|
|
16
18
|
import 'node:os';
|
|
17
19
|
import '../shared/bee.BeQSH2t0.mjs';
|
|
18
|
-
import '../shared/bee.-8tk76YJ.mjs';
|
|
19
|
-
import 'commander';
|
|
20
|
-
import 'consola/utils';
|
|
21
20
|
|
|
22
21
|
const readAll = new BeeCommand("read-all").summary("Mark all notifications as read").description(`Resets the unread notification count to zero.`).addOption(space()).envVars([...ENV_AUTH]).examples([
|
|
23
22
|
{ description: "Mark all notifications as read", command: "bee notification read-all" }
|
package/dist/chunks/read.mjs
CHANGED
|
@@ -1,29 +1,28 @@
|
|
|
1
1
|
import consola from 'consola';
|
|
2
|
-
import
|
|
2
|
+
import 'node:stream/consumers';
|
|
3
|
+
import 'valibot';
|
|
4
|
+
import { p as parseArg, v as vInteger } from '../shared/bee.BYqxm3yG.mjs';
|
|
5
|
+
import { g as getClient } from '../shared/bee.BCBBmkOy.mjs';
|
|
3
6
|
import 'backlog-js';
|
|
4
7
|
import 'node:http';
|
|
5
8
|
import 'open';
|
|
6
9
|
import 'node:child_process';
|
|
7
10
|
import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.CQ3kBgas.mjs';
|
|
8
|
-
import { s as space } from '../shared/bee.
|
|
9
|
-
import '../shared/bee.XxOB1Her.mjs';
|
|
10
|
-
import 'node:stream/consumers';
|
|
11
|
-
import 'valibot';
|
|
11
|
+
import { s as space } from '../shared/bee.B4OxR0DJ.mjs';
|
|
12
12
|
import '../shared/bee.CktwmH8R.mjs';
|
|
13
|
-
import '../shared/bee.
|
|
13
|
+
import '../shared/bee.riolf-_Y.mjs';
|
|
14
|
+
import 'commander';
|
|
15
|
+
import 'consola/utils';
|
|
14
16
|
import 'node:fs';
|
|
15
17
|
import 'node:path';
|
|
16
18
|
import 'node:os';
|
|
17
19
|
import '../shared/bee.BeQSH2t0.mjs';
|
|
18
|
-
import '../shared/bee.-8tk76YJ.mjs';
|
|
19
|
-
import 'commander';
|
|
20
|
-
import 'consola/utils';
|
|
21
20
|
|
|
22
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([
|
|
23
22
|
{ description: "Mark a notification as read", command: "bee notification read 12345" }
|
|
24
23
|
]).action(async (id, opts) => {
|
|
25
24
|
const { client } = await getClient(opts.space);
|
|
26
|
-
await client.markAsReadNotification(
|
|
25
|
+
await client.markAsReadNotification(parseArg(vInteger, id, "id"));
|
|
27
26
|
consola.success(`Marked notification ${id} as read.`);
|
|
28
27
|
});
|
|
29
28
|
|
package/dist/chunks/read2.mjs
CHANGED
|
@@ -1,27 +1,26 @@
|
|
|
1
1
|
import consola from 'consola';
|
|
2
|
-
import
|
|
2
|
+
import 'node:stream/consumers';
|
|
3
|
+
import 'valibot';
|
|
4
|
+
import { p as parseArg, v as vInteger } from '../shared/bee.BYqxm3yG.mjs';
|
|
5
|
+
import { g as getClient } from '../shared/bee.BCBBmkOy.mjs';
|
|
3
6
|
import 'backlog-js';
|
|
4
7
|
import 'node:http';
|
|
5
8
|
import 'open';
|
|
6
9
|
import 'node:child_process';
|
|
7
10
|
import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.CQ3kBgas.mjs';
|
|
8
|
-
import { s as space } from '../shared/bee.
|
|
9
|
-
import '../shared/bee.XxOB1Her.mjs';
|
|
10
|
-
import 'node:stream/consumers';
|
|
11
|
-
import 'valibot';
|
|
11
|
+
import { s as space } from '../shared/bee.B4OxR0DJ.mjs';
|
|
12
12
|
import '../shared/bee.CktwmH8R.mjs';
|
|
13
|
-
import '../shared/bee.
|
|
13
|
+
import '../shared/bee.riolf-_Y.mjs';
|
|
14
|
+
import 'commander';
|
|
15
|
+
import 'consola/utils';
|
|
14
16
|
import 'node:fs';
|
|
15
17
|
import 'node:path';
|
|
16
18
|
import 'node:os';
|
|
17
19
|
import '../shared/bee.BeQSH2t0.mjs';
|
|
18
|
-
import '../shared/bee.-8tk76YJ.mjs';
|
|
19
|
-
import 'commander';
|
|
20
|
-
import 'consola/utils';
|
|
21
20
|
|
|
22
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) => {
|
|
23
22
|
const { client } = await getClient(opts.space);
|
|
24
|
-
await client.resetWatchingListItemAsRead(
|
|
23
|
+
await client.resetWatchingListItemAsRead(parseArg(vInteger, watching, "watching"));
|
|
25
24
|
consola.success(`Marked watching ${watching} as read.`);
|
|
26
25
|
});
|
|
27
26
|
|
package/dist/chunks/refresh.mjs
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import consola from 'consola';
|
|
2
|
-
import { U as UserError } from '../shared/bee.
|
|
2
|
+
import { U as UserError } from '../shared/bee.BYqxm3yG.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 { 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.B4OxR0DJ.mjs';
|
|
8
|
+
import { f as findSpace, u as updateSpaceAuth } from '../shared/bee.riolf-_Y.mjs';
|
|
9
9
|
import 'node:http';
|
|
10
10
|
import 'open';
|
|
11
11
|
import 'node:child_process';
|
|
12
12
|
import { B as BeeCommand } from '../shared/bee.CQ3kBgas.mjs';
|
|
13
|
-
import { s as space } from '../shared/bee.DHTPkjMh.mjs';
|
|
14
13
|
import 'node:fs';
|
|
15
14
|
import 'node:path';
|
|
16
15
|
import 'node:os';
|
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
import consola from 'consola';
|
|
2
|
-
import {
|
|
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.BCBBmkOy.mjs';
|
|
3
7
|
import 'backlog-js';
|
|
4
8
|
import 'node:http';
|
|
5
9
|
import 'open';
|
|
6
10
|
import 'node:child_process';
|
|
7
|
-
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
8
|
-
import { U as UserError } from '../shared/bee.XxOB1Her.mjs';
|
|
9
|
-
import 'node:stream/consumers';
|
|
10
|
-
import 'valibot';
|
|
11
11
|
import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.CQ3kBgas.mjs';
|
|
12
|
-
import { p as project, R as RequiredOption, j as json, s as space, r as resolveOptions } from '../shared/bee.
|
|
12
|
+
import { p as project, R as RequiredOption, j as json, s as space, r as resolveOptions } from '../shared/bee.B4OxR0DJ.mjs';
|
|
13
13
|
import '../shared/bee.CktwmH8R.mjs';
|
|
14
|
-
import '../shared/bee.
|
|
14
|
+
import '../shared/bee.riolf-_Y.mjs';
|
|
15
|
+
import 'commander';
|
|
16
|
+
import 'consola/utils';
|
|
15
17
|
import 'node:fs';
|
|
16
18
|
import 'node:path';
|
|
17
19
|
import 'node:os';
|
|
18
20
|
import '../shared/bee.BeQSH2t0.mjs';
|
|
19
|
-
import '../shared/bee.-8tk76YJ.mjs';
|
|
20
|
-
import 'commander';
|
|
21
|
-
import 'consola/utils';
|
|
22
21
|
|
|
23
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([
|
|
24
23
|
{
|
|
@@ -27,10 +26,7 @@ const removeUser = new BeeCommand("remove-user").summary("Remove a user from a p
|
|
|
27
26
|
}
|
|
28
27
|
]).action(async (opts, cmd) => {
|
|
29
28
|
await resolveOptions(cmd);
|
|
30
|
-
const userId =
|
|
31
|
-
if (Number.isNaN(userId)) {
|
|
32
|
-
throw new UserError("User ID must be a number.");
|
|
33
|
-
}
|
|
29
|
+
const userId = parseArg(vInteger, opts.userId, "--user-id");
|
|
34
30
|
const { client } = await getClient(opts.space);
|
|
35
31
|
const user = await client.deleteProjectUsers(opts.project, { userId });
|
|
36
32
|
const jsonArg = opts.json === true ? "" : opts.json;
|
package/dist/chunks/remove.mjs
CHANGED
|
@@ -1,27 +1,26 @@
|
|
|
1
1
|
import consola from 'consola';
|
|
2
|
-
import
|
|
2
|
+
import 'node:stream/consumers';
|
|
3
|
+
import 'valibot';
|
|
4
|
+
import { p as parseArg, v as vInteger } from '../shared/bee.BYqxm3yG.mjs';
|
|
5
|
+
import { g as getClient } from '../shared/bee.BCBBmkOy.mjs';
|
|
3
6
|
import 'backlog-js';
|
|
4
7
|
import 'node:http';
|
|
5
8
|
import 'open';
|
|
6
9
|
import 'node:child_process';
|
|
7
10
|
import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.CQ3kBgas.mjs';
|
|
8
|
-
import { s as space } from '../shared/bee.
|
|
9
|
-
import '../shared/bee.XxOB1Her.mjs';
|
|
10
|
-
import 'node:stream/consumers';
|
|
11
|
-
import 'valibot';
|
|
11
|
+
import { s as space } from '../shared/bee.B4OxR0DJ.mjs';
|
|
12
12
|
import '../shared/bee.CktwmH8R.mjs';
|
|
13
|
-
import '../shared/bee.
|
|
13
|
+
import '../shared/bee.riolf-_Y.mjs';
|
|
14
|
+
import 'commander';
|
|
15
|
+
import 'consola/utils';
|
|
14
16
|
import 'node:fs';
|
|
15
17
|
import 'node:path';
|
|
16
18
|
import 'node:os';
|
|
17
19
|
import '../shared/bee.BeQSH2t0.mjs';
|
|
18
|
-
import '../shared/bee.-8tk76YJ.mjs';
|
|
19
|
-
import 'commander';
|
|
20
|
-
import 'consola/utils';
|
|
21
20
|
|
|
22
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) => {
|
|
23
22
|
const { client } = await getClient(opts.space);
|
|
24
|
-
await client.removeStar(
|
|
23
|
+
await client.removeStar(parseArg(vInteger, star, "star"));
|
|
25
24
|
consola.success(`Removed star ${star}.`);
|
|
26
25
|
});
|
|
27
26
|
|
package/dist/chunks/reopen.mjs
CHANGED
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
import consola from 'consola';
|
|
2
2
|
import { I as IssueStatusId } from '../shared/bee.Btmq3TXs.mjs';
|
|
3
|
-
import {
|
|
3
|
+
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
4
|
+
import 'node:stream/consumers';
|
|
5
|
+
import 'valibot';
|
|
6
|
+
import '../shared/bee.BYqxm3yG.mjs';
|
|
7
|
+
import { g as getClient } from '../shared/bee.BCBBmkOy.mjs';
|
|
4
8
|
import 'backlog-js';
|
|
5
9
|
import 'node:http';
|
|
6
10
|
import 'open';
|
|
7
11
|
import 'node:child_process';
|
|
8
|
-
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
9
|
-
import 'node:stream/consumers';
|
|
10
|
-
import 'valibot';
|
|
11
12
|
import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.CQ3kBgas.mjs';
|
|
12
|
-
import {
|
|
13
|
-
import '../shared/bee.XxOB1Her.mjs';
|
|
13
|
+
import { t as notify, j as json, s as space } from '../shared/bee.B4OxR0DJ.mjs';
|
|
14
14
|
import '../shared/bee.CktwmH8R.mjs';
|
|
15
|
-
import '../shared/bee.
|
|
15
|
+
import '../shared/bee.riolf-_Y.mjs';
|
|
16
|
+
import 'commander';
|
|
17
|
+
import 'consola/utils';
|
|
16
18
|
import 'node:fs';
|
|
17
19
|
import 'node:path';
|
|
18
20
|
import 'node:os';
|
|
19
21
|
import '../shared/bee.BeQSH2t0.mjs';
|
|
20
|
-
import '../shared/bee.-8tk76YJ.mjs';
|
|
21
|
-
import 'commander';
|
|
22
|
-
import 'consola/utils';
|
|
23
22
|
|
|
24
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([
|
|
25
24
|
{ description: "Reopen an issue", command: "bee issue reopen PROJECT-123" },
|
package/dist/chunks/status.mjs
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import { l as loadConfig } from '../shared/bee.
|
|
1
|
+
import { s as space, l as loadConfig } from '../shared/bee.B4OxR0DJ.mjs';
|
|
2
2
|
import { Backlog } from 'backlog-js';
|
|
3
3
|
import consola from 'consola';
|
|
4
4
|
import 'node:stream/consumers';
|
|
5
5
|
import 'valibot';
|
|
6
|
+
import '../shared/bee.BYqxm3yG.mjs';
|
|
6
7
|
import { p as printDefinitionList } from '../shared/bee.D6yQ6Pqf.mjs';
|
|
7
8
|
import { B as BeeCommand } from '../shared/bee.CQ3kBgas.mjs';
|
|
8
|
-
import { s as space } from '../shared/bee.DHTPkjMh.mjs';
|
|
9
|
-
import '../shared/bee.XxOB1Her.mjs';
|
|
10
9
|
import 'node:fs';
|
|
11
10
|
import 'node:path';
|
|
12
11
|
import 'node:os';
|
|
13
12
|
import '../shared/bee.BeQSH2t0.mjs';
|
|
14
|
-
import '../shared/bee.Ds2l-nTJ.mjs';
|
|
15
13
|
import 'commander';
|
|
14
|
+
import '../shared/bee.Ds2l-nTJ.mjs';
|
|
16
15
|
import 'consola/utils';
|
|
17
16
|
|
|
18
17
|
const getToken = (auth) => auth.method === "api-key" ? auth.apiKey : auth.accessToken;
|
package/dist/chunks/status2.mjs
CHANGED
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
import consola from 'consola';
|
|
2
|
-
import {
|
|
2
|
+
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
3
|
+
import 'node:stream/consumers';
|
|
4
|
+
import 'valibot';
|
|
5
|
+
import '../shared/bee.BYqxm3yG.mjs';
|
|
6
|
+
import { g as getClient } from '../shared/bee.BCBBmkOy.mjs';
|
|
3
7
|
import 'backlog-js';
|
|
4
8
|
import 'node:http';
|
|
5
9
|
import 'open';
|
|
6
10
|
import 'node:child_process';
|
|
7
|
-
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
8
|
-
import 'node:stream/consumers';
|
|
9
|
-
import 'valibot';
|
|
10
11
|
import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.CQ3kBgas.mjs';
|
|
11
|
-
import { j as json, s as space } from '../shared/bee.
|
|
12
|
-
import '../shared/bee.XxOB1Her.mjs';
|
|
12
|
+
import { j as json, s as space } from '../shared/bee.B4OxR0DJ.mjs';
|
|
13
13
|
import '../shared/bee.CktwmH8R.mjs';
|
|
14
|
-
import '../shared/bee.
|
|
14
|
+
import '../shared/bee.riolf-_Y.mjs';
|
|
15
|
+
import 'commander';
|
|
16
|
+
import 'consola/utils';
|
|
15
17
|
import 'node:fs';
|
|
16
18
|
import 'node:path';
|
|
17
19
|
import 'node:os';
|
|
18
20
|
import '../shared/bee.BeQSH2t0.mjs';
|
|
19
|
-
import '../shared/bee.-8tk76YJ.mjs';
|
|
20
|
-
import 'commander';
|
|
21
|
-
import 'consola/utils';
|
|
22
21
|
|
|
23
22
|
const status = new BeeCommand("status").summary("Show issue status summary for yourself").description(
|
|
24
23
|
`Displays your assigned issues grouped by status (e.g., Open, In Progress, Resolved).`
|
package/dist/chunks/status3.mjs
CHANGED
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
import consola from 'consola';
|
|
2
2
|
import { b as PrStatusId } from '../shared/bee.DoTvz3uW.mjs';
|
|
3
|
-
import {
|
|
3
|
+
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
4
|
+
import 'node:stream/consumers';
|
|
5
|
+
import 'valibot';
|
|
6
|
+
import '../shared/bee.BYqxm3yG.mjs';
|
|
7
|
+
import { g as getClient } from '../shared/bee.BCBBmkOy.mjs';
|
|
4
8
|
import 'backlog-js';
|
|
5
9
|
import 'node:http';
|
|
6
10
|
import 'open';
|
|
7
11
|
import 'node:child_process';
|
|
8
|
-
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
9
|
-
import 'node:stream/consumers';
|
|
10
|
-
import 'valibot';
|
|
11
12
|
import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT, b as ENV_REPO } from '../shared/bee.CQ3kBgas.mjs';
|
|
12
|
-
import { p as project,
|
|
13
|
-
import '../shared/bee.XxOB1Her.mjs';
|
|
13
|
+
import { p as project, B as repo, j as json, s as space, r as resolveOptions } from '../shared/bee.B4OxR0DJ.mjs';
|
|
14
14
|
import '../shared/bee.CktwmH8R.mjs';
|
|
15
|
-
import '../shared/bee.
|
|
15
|
+
import '../shared/bee.riolf-_Y.mjs';
|
|
16
|
+
import 'commander';
|
|
17
|
+
import 'consola/utils';
|
|
16
18
|
import 'node:fs';
|
|
17
19
|
import 'node:path';
|
|
18
20
|
import 'node:os';
|
|
19
21
|
import '../shared/bee.BeQSH2t0.mjs';
|
|
20
|
-
import '../shared/bee.-8tk76YJ.mjs';
|
|
21
|
-
import 'commander';
|
|
22
|
-
import 'consola/utils';
|
|
23
22
|
|
|
24
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([
|
|
25
24
|
{
|
package/dist/chunks/switch.mjs
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import consola from 'consola';
|
|
2
|
-
import { U as UserError } from '../shared/bee.
|
|
2
|
+
import { U as UserError } from '../shared/bee.BYqxm3yG.mjs';
|
|
3
3
|
import 'node:stream/consumers';
|
|
4
4
|
import 'valibot';
|
|
5
|
-
import { l as loadConfig,
|
|
5
|
+
import { s as space, l as loadConfig, b as writeConfig } from '../shared/bee.B4OxR0DJ.mjs';
|
|
6
6
|
import { B as BeeCommand } from '../shared/bee.CQ3kBgas.mjs';
|
|
7
|
-
import { s as space } from '../shared/bee.DHTPkjMh.mjs';
|
|
8
7
|
import 'node:fs';
|
|
9
8
|
import 'node:path';
|
|
10
9
|
import 'node:os';
|
package/dist/chunks/tags.mjs
CHANGED
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
import consola from 'consola';
|
|
2
|
-
import {
|
|
2
|
+
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
3
|
+
import 'node:stream/consumers';
|
|
4
|
+
import 'valibot';
|
|
5
|
+
import '../shared/bee.BYqxm3yG.mjs';
|
|
6
|
+
import { g as getClient } from '../shared/bee.BCBBmkOy.mjs';
|
|
3
7
|
import 'backlog-js';
|
|
4
8
|
import 'node:http';
|
|
5
9
|
import 'open';
|
|
6
10
|
import 'node:child_process';
|
|
7
|
-
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
8
|
-
import 'node:stream/consumers';
|
|
9
|
-
import 'valibot';
|
|
10
11
|
import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.CQ3kBgas.mjs';
|
|
11
|
-
import { j as json, s as space } from '../shared/bee.
|
|
12
|
-
import '../shared/bee.XxOB1Her.mjs';
|
|
12
|
+
import { j as json, s as space } from '../shared/bee.B4OxR0DJ.mjs';
|
|
13
13
|
import '../shared/bee.CktwmH8R.mjs';
|
|
14
|
-
import '../shared/bee.
|
|
14
|
+
import '../shared/bee.riolf-_Y.mjs';
|
|
15
|
+
import 'commander';
|
|
16
|
+
import 'consola/utils';
|
|
15
17
|
import 'node:fs';
|
|
16
18
|
import 'node:path';
|
|
17
19
|
import 'node:os';
|
|
18
20
|
import '../shared/bee.BeQSH2t0.mjs';
|
|
19
|
-
import '../shared/bee.-8tk76YJ.mjs';
|
|
20
|
-
import 'commander';
|
|
21
|
-
import 'consola/utils';
|
|
22
21
|
|
|
23
22
|
const tags = new BeeCommand("tags").summary("List wiki tags").description(`Tags are labels attached to wiki pages for organization.`).argument("<project>", "Project ID or project key").addOption(json()).addOption(space()).envVars([...ENV_AUTH, ENV_PROJECT]).examples([
|
|
24
23
|
{ description: "List wiki tags", command: "bee wiki tags PROJECT" },
|
package/dist/chunks/token.mjs
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import 'consola';
|
|
2
|
-
import { U as UserError } from '../shared/bee.
|
|
2
|
+
import { U as UserError } from '../shared/bee.BYqxm3yG.mjs';
|
|
3
3
|
import 'node:stream/consumers';
|
|
4
4
|
import 'valibot';
|
|
5
|
-
import { l as loadConfig } from '../shared/bee.
|
|
6
|
-
import { f as findSpace } from '../shared/bee
|
|
5
|
+
import { s as space, l as loadConfig } from '../shared/bee.B4OxR0DJ.mjs';
|
|
6
|
+
import { f as findSpace } from '../shared/bee.riolf-_Y.mjs';
|
|
7
7
|
import { B as BeeCommand } from '../shared/bee.CQ3kBgas.mjs';
|
|
8
|
-
import { s as space } from '../shared/bee.DHTPkjMh.mjs';
|
|
9
8
|
import 'node:fs';
|
|
10
9
|
import 'node:path';
|
|
11
10
|
import 'node:os';
|
package/dist/chunks/tree.mjs
CHANGED
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
import consola from 'consola';
|
|
2
|
-
import {
|
|
2
|
+
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
3
|
+
import 'node:stream/consumers';
|
|
4
|
+
import 'valibot';
|
|
5
|
+
import '../shared/bee.BYqxm3yG.mjs';
|
|
6
|
+
import { g as getClient } from '../shared/bee.BCBBmkOy.mjs';
|
|
3
7
|
import 'backlog-js';
|
|
4
8
|
import 'node:http';
|
|
5
9
|
import 'open';
|
|
6
10
|
import 'node:child_process';
|
|
7
|
-
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
8
|
-
import 'node:stream/consumers';
|
|
9
|
-
import 'valibot';
|
|
10
11
|
import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.CQ3kBgas.mjs';
|
|
11
|
-
import { j as json, s as space } from '../shared/bee.
|
|
12
|
-
import '../shared/bee.XxOB1Her.mjs';
|
|
12
|
+
import { j as json, s as space } from '../shared/bee.B4OxR0DJ.mjs';
|
|
13
13
|
import '../shared/bee.CktwmH8R.mjs';
|
|
14
|
-
import '../shared/bee.
|
|
14
|
+
import '../shared/bee.riolf-_Y.mjs';
|
|
15
|
+
import 'commander';
|
|
16
|
+
import 'consola/utils';
|
|
15
17
|
import 'node:fs';
|
|
16
18
|
import 'node:path';
|
|
17
19
|
import 'node:os';
|
|
18
20
|
import '../shared/bee.BeQSH2t0.mjs';
|
|
19
|
-
import '../shared/bee.-8tk76YJ.mjs';
|
|
20
|
-
import 'commander';
|
|
21
|
-
import 'consola/utils';
|
|
22
21
|
|
|
23
22
|
const renderNode = (node, prefix, isLast) => {
|
|
24
23
|
const connector = isLast ? "\u2514\u2500\u2500" : "\u251C\u2500\u2500";
|
package/dist/chunks/users.mjs
CHANGED
|
@@ -1,27 +1,26 @@
|
|
|
1
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 '../shared/bee.BYqxm3yG.mjs';
|
|
6
|
+
import { p as printTable } from '../shared/bee.IM3QELRf.mjs';
|
|
2
7
|
import { R as ROLE_LABELS } from '../shared/bee.BXiuAfjJ.mjs';
|
|
3
|
-
import { g as getClient } from '../shared/bee.
|
|
8
|
+
import { g as getClient } from '../shared/bee.BCBBmkOy.mjs';
|
|
4
9
|
import 'backlog-js';
|
|
5
10
|
import 'node:http';
|
|
6
11
|
import 'open';
|
|
7
12
|
import 'node:child_process';
|
|
8
|
-
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
9
|
-
import 'node:stream/consumers';
|
|
10
|
-
import 'valibot';
|
|
11
|
-
import { p as printTable } from '../shared/bee.IM3QELRf.mjs';
|
|
12
13
|
import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.CQ3kBgas.mjs';
|
|
13
|
-
import { j as json, s as space } from '../shared/bee.
|
|
14
|
-
import '../shared/bee.
|
|
14
|
+
import { j as json, s as space } from '../shared/bee.B4OxR0DJ.mjs';
|
|
15
|
+
import '../shared/bee.Ds2l-nTJ.mjs';
|
|
15
16
|
import '../shared/bee.CktwmH8R.mjs';
|
|
16
|
-
import '../shared/bee.
|
|
17
|
+
import '../shared/bee.riolf-_Y.mjs';
|
|
18
|
+
import 'commander';
|
|
19
|
+
import 'consola/utils';
|
|
17
20
|
import 'node:fs';
|
|
18
21
|
import 'node:path';
|
|
19
22
|
import 'node:os';
|
|
20
23
|
import '../shared/bee.BeQSH2t0.mjs';
|
|
21
|
-
import '../shared/bee.-8tk76YJ.mjs';
|
|
22
|
-
import '../shared/bee.Ds2l-nTJ.mjs';
|
|
23
|
-
import 'commander';
|
|
24
|
-
import 'consola/utils';
|
|
25
24
|
|
|
26
25
|
const users = new BeeCommand("users").summary("List project users").description(`Displays each member's ID, name, and role.`).argument("<project>", "Project ID or project key").addOption(json()).addOption(space()).envVars([...ENV_AUTH, ENV_PROJECT]).examples([
|
|
27
26
|
{ description: "List project members", command: "bee project users PROJECT_KEY" },
|
package/dist/chunks/view.mjs
CHANGED
|
@@ -1,27 +1,26 @@
|
|
|
1
1
|
import consola from 'consola';
|
|
2
|
-
import { g as getClient } from '../shared/bee.CThuQMit.mjs';
|
|
3
|
-
import 'backlog-js';
|
|
4
|
-
import 'node:http';
|
|
5
|
-
import { o as openOrPrintUrl, p as projectUrl } from '../shared/bee.CzKcWSES.mjs';
|
|
6
|
-
import 'node:child_process';
|
|
7
2
|
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
8
3
|
import 'node:stream/consumers';
|
|
9
4
|
import 'valibot';
|
|
5
|
+
import '../shared/bee.BYqxm3yG.mjs';
|
|
10
6
|
import { p as printDefinitionList } from '../shared/bee.D6yQ6Pqf.mjs';
|
|
7
|
+
import { g as getClient } from '../shared/bee.BCBBmkOy.mjs';
|
|
8
|
+
import 'backlog-js';
|
|
9
|
+
import 'node:http';
|
|
10
|
+
import { o as openOrPrintUrl, p as projectUrl } from '../shared/bee.CzKcWSES.mjs';
|
|
11
|
+
import 'node:child_process';
|
|
11
12
|
import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.CQ3kBgas.mjs';
|
|
12
|
-
import { w as web, n as noBrowser, j as json, s as space } from '../shared/bee.
|
|
13
|
-
import '../shared/bee.
|
|
13
|
+
import { w as web, n as noBrowser, j as json, s as space } from '../shared/bee.B4OxR0DJ.mjs';
|
|
14
|
+
import '../shared/bee.Ds2l-nTJ.mjs';
|
|
14
15
|
import '../shared/bee.CktwmH8R.mjs';
|
|
15
|
-
import '../shared/bee.
|
|
16
|
+
import '../shared/bee.riolf-_Y.mjs';
|
|
17
|
+
import 'open';
|
|
18
|
+
import 'commander';
|
|
19
|
+
import 'consola/utils';
|
|
16
20
|
import 'node:fs';
|
|
17
21
|
import 'node:path';
|
|
18
22
|
import 'node:os';
|
|
19
23
|
import '../shared/bee.BeQSH2t0.mjs';
|
|
20
|
-
import '../shared/bee.-8tk76YJ.mjs';
|
|
21
|
-
import 'open';
|
|
22
|
-
import '../shared/bee.Ds2l-nTJ.mjs';
|
|
23
|
-
import 'commander';
|
|
24
|
-
import 'consola/utils';
|
|
25
24
|
|
|
26
25
|
const view = new BeeCommand("view").summary("View a project").description(`Use \`--web\` to open in the browser.`).argument("<project>", "Project ID or project key").addOption(web("project")).addOption(noBrowser()).addOption(json()).addOption(space()).envVars([...ENV_AUTH, ENV_PROJECT]).examples([
|
|
27
26
|
{ description: "View project details", command: "bee project view PROJECT_KEY" },
|
package/dist/chunks/view2.mjs
CHANGED
|
@@ -1,28 +1,27 @@
|
|
|
1
1
|
import consola from 'consola';
|
|
2
|
-
import { g as getClient } from '../shared/bee.CThuQMit.mjs';
|
|
3
|
-
import 'backlog-js';
|
|
4
|
-
import 'node:http';
|
|
5
|
-
import { o as openOrPrintUrl, i as issueUrl } from '../shared/bee.CzKcWSES.mjs';
|
|
6
|
-
import 'node:child_process';
|
|
7
2
|
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
8
3
|
import 'node:stream/consumers';
|
|
9
4
|
import 'valibot';
|
|
5
|
+
import '../shared/bee.BYqxm3yG.mjs';
|
|
10
6
|
import { f as formatDate } from '../shared/bee.n5MYN4a6.mjs';
|
|
11
7
|
import { p as printDefinitionList } from '../shared/bee.D6yQ6Pqf.mjs';
|
|
8
|
+
import { g as getClient } from '../shared/bee.BCBBmkOy.mjs';
|
|
9
|
+
import 'backlog-js';
|
|
10
|
+
import 'node:http';
|
|
11
|
+
import { o as openOrPrintUrl, i as issueUrl } from '../shared/bee.CzKcWSES.mjs';
|
|
12
|
+
import 'node:child_process';
|
|
12
13
|
import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.CQ3kBgas.mjs';
|
|
13
|
-
import { w as web, n as noBrowser, j as json, s as space } from '../shared/bee.
|
|
14
|
-
import '../shared/bee.
|
|
14
|
+
import { w as web, n as noBrowser, j as json, s as space } from '../shared/bee.B4OxR0DJ.mjs';
|
|
15
|
+
import '../shared/bee.Ds2l-nTJ.mjs';
|
|
15
16
|
import '../shared/bee.CktwmH8R.mjs';
|
|
16
|
-
import '../shared/bee.
|
|
17
|
+
import '../shared/bee.riolf-_Y.mjs';
|
|
18
|
+
import 'open';
|
|
19
|
+
import 'commander';
|
|
20
|
+
import 'consola/utils';
|
|
17
21
|
import 'node:fs';
|
|
18
22
|
import 'node:path';
|
|
19
23
|
import 'node:os';
|
|
20
24
|
import '../shared/bee.BeQSH2t0.mjs';
|
|
21
|
-
import '../shared/bee.-8tk76YJ.mjs';
|
|
22
|
-
import 'open';
|
|
23
|
-
import '../shared/bee.Ds2l-nTJ.mjs';
|
|
24
|
-
import 'commander';
|
|
25
|
-
import 'consola/utils';
|
|
26
25
|
|
|
27
26
|
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([
|
|
28
27
|
{ description: "View issue details", command: "bee issue view PROJECT-123" },
|