@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/list13.mjs
CHANGED
|
@@ -2,26 +2,24 @@ 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.
|
|
7
|
-
import { g as getClient } from '../shared/bee.
|
|
5
|
+
import '../index.mjs';
|
|
6
|
+
import { p as printTable } from '../shared/bee.a05kNWpn.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, j as json, s as space, r as resolveOptions } from '../shared/bee.Bt1TK6yh.mjs';
|
|
15
|
-
import '../shared/bee.Ds2l-nTJ.mjs';
|
|
16
|
-
import '../shared/bee.CktwmH8R.mjs';
|
|
17
|
-
import '../shared/bee.DxRKWv6n.mjs';
|
|
18
|
-
import 'node:module';
|
|
19
|
-
import 'commander';
|
|
20
|
-
import 'consola/utils';
|
|
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.CHtg3F43.mjs';
|
|
21
14
|
import 'node:fs';
|
|
22
15
|
import 'node:path';
|
|
23
16
|
import 'node:os';
|
|
24
|
-
import '
|
|
17
|
+
import 'node:module';
|
|
18
|
+
import 'commander';
|
|
19
|
+
import 'consola/utils';
|
|
20
|
+
import '../shared/bee.DFnSWb6q.mjs';
|
|
21
|
+
import '../shared/bee.CktwmH8R.mjs';
|
|
22
|
+
import '../shared/bee.CAARNIp6.mjs';
|
|
25
23
|
|
|
26
24
|
const list = new BeeCommand("list").summary("List statuses").description(`Statuses define the workflow states that issues move through.`).addOption(project()).addOption(json()).addOption(space()).envVars([...ENV_AUTH, ENV_PROJECT]).examples([
|
|
27
25
|
{ description: "List all statuses", command: "bee status list -p PROJECT" },
|
package/dist/chunks/list14.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 { p as parseArg, v as vInteger } from '../
|
|
5
|
+
import { p as parseArg, v as vInteger } from '../index.mjs';
|
|
6
6
|
import { f as formatDate } from '../shared/bee.n5MYN4a6.mjs';
|
|
7
|
-
import { p as printTable } from '../shared/bee.
|
|
8
|
-
import { g as getClient } from '../shared/bee.
|
|
7
|
+
import { p as printTable } from '../shared/bee.a05kNWpn.mjs';
|
|
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 { j as json, s as space } 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 } from '../shared/bee.KteAW2rM.mjs';
|
|
14
|
+
import { j as json, s as space } 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 list = new BeeCommand("list").summary("List received stars").description(`Defaults to the authenticated user if no user ID is given.`).argument("[user]", "User ID").addOption(json()).addOption(space()).envVars([...ENV_AUTH]).examples([
|
|
28
26
|
{ description: "List your stars", command: "bee star list" },
|
package/dist/chunks/list15.mjs
CHANGED
|
@@ -2,26 +2,24 @@ 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.
|
|
7
|
-
import { g as getClient } from '../shared/bee.
|
|
5
|
+
import '../index.mjs';
|
|
6
|
+
import { p as printTable } from '../shared/bee.a05kNWpn.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 { j as json, s as space } from '../shared/bee.Bt1TK6yh.mjs';
|
|
15
|
-
import '../shared/bee.Ds2l-nTJ.mjs';
|
|
16
|
-
import '../shared/bee.CktwmH8R.mjs';
|
|
17
|
-
import '../shared/bee.DxRKWv6n.mjs';
|
|
18
|
-
import 'node:module';
|
|
19
|
-
import 'commander';
|
|
20
|
-
import 'consola/utils';
|
|
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.CHtg3F43.mjs';
|
|
21
14
|
import 'node:fs';
|
|
22
15
|
import 'node:path';
|
|
23
16
|
import 'node:os';
|
|
24
|
-
import '
|
|
17
|
+
import 'node:module';
|
|
18
|
+
import 'commander';
|
|
19
|
+
import 'consola/utils';
|
|
20
|
+
import '../shared/bee.DFnSWb6q.mjs';
|
|
21
|
+
import '../shared/bee.CktwmH8R.mjs';
|
|
22
|
+
import '../shared/bee.CAARNIp6.mjs';
|
|
25
23
|
|
|
26
24
|
const list = new BeeCommand("list").summary("List watching items").description(`Unread items are marked with an asterisk (\`*\`).`).addOption(json()).addOption(space()).envVars([...ENV_AUTH]).examples([
|
|
27
25
|
{ description: "List your watching items", command: "bee watching list" },
|
package/dist/chunks/list2.mjs
CHANGED
|
@@ -1,30 +1,28 @@
|
|
|
1
1
|
import consola from 'consola';
|
|
2
2
|
import { P as PriorityId, a as PRIORITY_NAMES } from '../shared/bee.Btmq3TXs.mjs';
|
|
3
|
-
import { r as resolveProjectIds } from '../shared/bee.
|
|
4
|
-
import { r as resolveUserId } from '../shared/bee.
|
|
5
|
-
import { g as getClient } from '../shared/bee.
|
|
3
|
+
import { r as resolveProjectIds } from '../shared/bee.084B_7FC.mjs';
|
|
4
|
+
import { r as resolveUserId } from '../shared/bee.q93n012-.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 '../
|
|
10
|
+
import { p as parseArg, v as vInteger } from '../index.mjs';
|
|
11
11
|
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
12
12
|
import 'node:stream/consumers';
|
|
13
13
|
import * as v from 'valibot';
|
|
14
|
-
import { p as
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.bmiIlr9W.mjs';
|
|
18
|
-
import { g as assigneeList, e as collectNum, c as collect, k as keyword, o as order, f as count, h as offset, j as json, s as space } from '../shared/bee.Bt1TK6yh.mjs';
|
|
14
|
+
import { p as printTable } from '../shared/bee.a05kNWpn.mjs';
|
|
15
|
+
import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
|
|
16
|
+
import { p as projectOptional, h as assigneeList, f as collectNum, c as collect, k as keyword, o as order, g as count, i as offset, j as json, s as space } from '../shared/bee.CHtg3F43.mjs';
|
|
19
17
|
import '../shared/bee.CktwmH8R.mjs';
|
|
20
|
-
import '../shared/bee.
|
|
21
|
-
import 'node:module';
|
|
22
|
-
import '../shared/bee.Ds2l-nTJ.mjs';
|
|
23
|
-
import 'consola/utils';
|
|
18
|
+
import '../shared/bee.CAARNIp6.mjs';
|
|
24
19
|
import 'node:fs';
|
|
25
20
|
import 'node:path';
|
|
26
21
|
import 'node:os';
|
|
27
|
-
import '
|
|
22
|
+
import 'node:module';
|
|
23
|
+
import 'commander';
|
|
24
|
+
import 'consola/utils';
|
|
25
|
+
import '../shared/bee.DFnSWb6q.mjs';
|
|
28
26
|
|
|
29
27
|
const resolvePriorityIds = (priorities) => priorities.map((name) => {
|
|
30
28
|
const id = PriorityId[name.toLowerCase()];
|
|
@@ -35,12 +33,7 @@ const resolvePriorityIds = (priorities) => priorities.map((name) => {
|
|
|
35
33
|
});
|
|
36
34
|
const list = new BeeCommand("list").summary("List issues").description(
|
|
37
35
|
`By default, sorted by last updated date in descending order. Multiple project keys can be comma-separated.`
|
|
38
|
-
).addOption(
|
|
39
|
-
new Option(
|
|
40
|
-
"-p, --project <id>",
|
|
41
|
-
"Project ID or project key (comma-separated for multiple)"
|
|
42
|
-
).env("BACKLOG_PROJECT")
|
|
43
|
-
).addOption(assigneeList()).option("-S, --status <id>", "Status ID (repeatable)", collectNum, []).option("-P, --priority <name>", "Priority name (repeatable)", collect, []).option("-T, --type <id>", "Issue type ID (repeatable)", collectNum, []).option("--category <id>", "Category ID (repeatable)", collectNum, []).option("--version <id>", "Version ID (repeatable)", collectNum, []).option("--milestone <id>", "Milestone ID (repeatable)", collectNum, []).option("--resolution <id>", "Resolution ID (repeatable)", collectNum, []).option("--parent-issue <id>", "Parent issue ID (repeatable)", collectNum, []).addOption(keyword()).option("--created-since <date>", "Show issues created on or after this date").option("--created-until <date>", "Show issues created on or before this date").option("--updated-since <date>", "Show issues updated on or after this date").option("--updated-until <date>", "Show issues updated on or before this date").option("--start-since <date>", "Show issues starting on or after this date").option("--start-until <date>", "Show issues starting on or before this date").option("--due-since <date>", "Show issues due on or after this date").option("--due-until <date>", "Show issues due on or before this date").option("--sort <field>", "Sort field").addOption(order()).addOption(count()).addOption(offset()).addOption(json()).addOption(space()).envVars([...ENV_AUTH, ENV_PROJECT]).examples([
|
|
36
|
+
).addOption(projectOptional("Project ID or project key (comma-separated for multiple)")).addOption(assigneeList()).option("-S, --status <id>", "Status ID (repeatable)", collectNum, []).option("-P, --priority <name>", "Priority name (repeatable)", collect, []).option("-T, --type <id>", "Issue type ID (repeatable)", collectNum, []).option("--category <id>", "Category ID (repeatable)", collectNum, []).option("--version <id>", "Version ID (repeatable)", collectNum, []).option("--milestone <id>", "Milestone ID (repeatable)", collectNum, []).option("--resolution <id>", "Resolution ID (repeatable)", collectNum, []).option("--parent-issue <id>", "Parent issue ID (repeatable)", collectNum, []).addOption(keyword()).option("--created-since <date>", "Show issues created on or after this date").option("--created-until <date>", "Show issues created on or before this date").option("--updated-since <date>", "Show issues updated on or after this date").option("--updated-until <date>", "Show issues updated on or before this date").option("--start-since <date>", "Show issues starting on or after this date").option("--start-until <date>", "Show issues starting on or before this date").option("--due-since <date>", "Show issues due on or after this date").option("--due-until <date>", "Show issues due on or before this date").option("--sort <field>", "Sort field").addOption(order()).addOption(count()).addOption(offset()).addOption(json()).addOption(space()).envVars([...ENV_AUTH, ENV_PROJECT]).examples([
|
|
44
37
|
{ description: "List issues in a project", command: "bee issue list -p PROJECT" },
|
|
45
38
|
{ description: "List your assigned issues", command: "bee issue list -p PROJECT -a @me" },
|
|
46
39
|
{
|
package/dist/chunks/list3.mjs
CHANGED
|
@@ -1,30 +1,28 @@
|
|
|
1
1
|
import consola from 'consola';
|
|
2
|
-
import { r as resolveProjectIds } from '../shared/bee.
|
|
2
|
+
import { r as resolveProjectIds } from '../shared/bee.084B_7FC.mjs';
|
|
3
3
|
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
4
4
|
import 'node:stream/consumers';
|
|
5
5
|
import * as v from 'valibot';
|
|
6
6
|
import { safeParse } from 'valibot';
|
|
7
|
-
import { a as vFiniteNumber, p as parseArg, v as vInteger } from '../
|
|
7
|
+
import { a as vFiniteNumber, p as parseArg, v as vInteger } from '../index.mjs';
|
|
8
8
|
import { f as formatDate } from '../shared/bee.n5MYN4a6.mjs';
|
|
9
|
-
import { p as printTable } from '../shared/bee.
|
|
10
|
-
import { g as getClient } from '../shared/bee.
|
|
9
|
+
import { p as printTable } from '../shared/bee.a05kNWpn.mjs';
|
|
10
|
+
import { g as getClient } from '../shared/bee.RsR9yniy.mjs';
|
|
11
11
|
import 'backlog-js';
|
|
12
12
|
import 'node:http';
|
|
13
13
|
import 'open';
|
|
14
14
|
import 'node:child_process';
|
|
15
|
-
import '../shared/bee.
|
|
16
|
-
import {
|
|
17
|
-
import { p as project, k as keyword, o as order, f as count, h as offset, j as json, s as space, r as resolveOptions } from '../shared/bee.Bt1TK6yh.mjs';
|
|
18
|
-
import '../shared/bee.Ds2l-nTJ.mjs';
|
|
19
|
-
import '../shared/bee.CktwmH8R.mjs';
|
|
20
|
-
import '../shared/bee.DxRKWv6n.mjs';
|
|
21
|
-
import 'node:module';
|
|
22
|
-
import 'commander';
|
|
23
|
-
import 'consola/utils';
|
|
15
|
+
import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
|
|
16
|
+
import { d as project, k as keyword, o as order, g as count, i as offset, j as json, s as space, r as resolveOptions } from '../shared/bee.CHtg3F43.mjs';
|
|
24
17
|
import 'node:fs';
|
|
25
18
|
import 'node:path';
|
|
26
19
|
import 'node:os';
|
|
27
|
-
import '
|
|
20
|
+
import 'node:module';
|
|
21
|
+
import 'commander';
|
|
22
|
+
import 'consola/utils';
|
|
23
|
+
import '../shared/bee.DFnSWb6q.mjs';
|
|
24
|
+
import '../shared/bee.CktwmH8R.mjs';
|
|
25
|
+
import '../shared/bee.CAARNIp6.mjs';
|
|
28
26
|
|
|
29
27
|
const splitArg = (input, schema) => {
|
|
30
28
|
if (!input) {
|
package/dist/chunks/list4.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 * as v from 'valibot';
|
|
5
|
-
import { p as parseArg, v as vInteger } from '../
|
|
5
|
+
import { p as parseArg, v as vInteger } from '../index.mjs';
|
|
6
6
|
import { f as formatDate } from '../shared/bee.n5MYN4a6.mjs';
|
|
7
|
-
import { p as printTable } from '../shared/bee.
|
|
8
|
-
import { g as getClient } from '../shared/bee.
|
|
7
|
+
import { p as printTable } from '../shared/bee.a05kNWpn.mjs';
|
|
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 { B as
|
|
15
|
-
import { f as count, z as minId, A as maxId, o as order, j as json, s as space } 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 } from '../shared/bee.KteAW2rM.mjs';
|
|
14
|
+
import { g as count, A as minId, B as maxId, o as order, j as json, s as space } 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 NOTIFICATION_REASON_LABELS = {
|
|
28
26
|
1: "Assigned",
|
package/dist/chunks/list5.mjs
CHANGED
|
@@ -3,27 +3,25 @@ import { P as PrStatusName, a as PR_STATUS_NAMES } from '../shared/bee.DoTvz3uW.
|
|
|
3
3
|
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
4
4
|
import 'node:stream/consumers';
|
|
5
5
|
import * as v from 'valibot';
|
|
6
|
-
import { p as parseArg, v as vInteger } from '../
|
|
7
|
-
import { p as printTable } from '../shared/bee.
|
|
8
|
-
import { r as resolveUserId } from '../shared/bee.
|
|
9
|
-
import { g as getClient } from '../shared/bee.
|
|
6
|
+
import { p as parseArg, v as vInteger } from '../index.mjs';
|
|
7
|
+
import { p as printTable } from '../shared/bee.a05kNWpn.mjs';
|
|
8
|
+
import { r as resolveUserId } from '../shared/bee.q93n012-.mjs';
|
|
9
|
+
import { g as getClient } from '../shared/bee.RsR9yniy.mjs';
|
|
10
10
|
import 'backlog-js';
|
|
11
11
|
import 'node:http';
|
|
12
12
|
import 'open';
|
|
13
13
|
import 'node:child_process';
|
|
14
|
-
import '../shared/bee.
|
|
15
|
-
import {
|
|
16
|
-
import { p as project, B as repo, c as collect, g as assigneeList, e as collectNum, f as count, h as offset, j as json, s as space, r as resolveOptions } from '../shared/bee.Bt1TK6yh.mjs';
|
|
17
|
-
import '../shared/bee.Ds2l-nTJ.mjs';
|
|
18
|
-
import '../shared/bee.CktwmH8R.mjs';
|
|
19
|
-
import '../shared/bee.DxRKWv6n.mjs';
|
|
20
|
-
import 'node:module';
|
|
21
|
-
import 'commander';
|
|
22
|
-
import 'consola/utils';
|
|
14
|
+
import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT, b as ENV_REPO } from '../shared/bee.KteAW2rM.mjs';
|
|
15
|
+
import { d as project, C as repo, c as collect, h as assigneeList, f as collectNum, g as count, i as offset, j as json, s as space, r as resolveOptions } from '../shared/bee.CHtg3F43.mjs';
|
|
23
16
|
import 'node:fs';
|
|
24
17
|
import 'node:path';
|
|
25
18
|
import 'node:os';
|
|
26
|
-
import '
|
|
19
|
+
import 'node:module';
|
|
20
|
+
import 'commander';
|
|
21
|
+
import 'consola/utils';
|
|
22
|
+
import '../shared/bee.DFnSWb6q.mjs';
|
|
23
|
+
import '../shared/bee.CktwmH8R.mjs';
|
|
24
|
+
import '../shared/bee.CAARNIp6.mjs';
|
|
27
25
|
|
|
28
26
|
const resolveStatusIds = (statuses) => statuses.map((name) => {
|
|
29
27
|
const id = PrStatusName[name.toLowerCase()];
|
package/dist/chunks/list6.mjs
CHANGED
|
@@ -2,26 +2,24 @@ 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.
|
|
7
|
-
import { g as getClient } from '../shared/bee.
|
|
5
|
+
import '../index.mjs';
|
|
6
|
+
import { p as printTable } from '../shared/bee.a05kNWpn.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, j as json, s as space, r as resolveOptions } from '../shared/bee.Bt1TK6yh.mjs';
|
|
15
|
-
import '../shared/bee.Ds2l-nTJ.mjs';
|
|
16
|
-
import '../shared/bee.CktwmH8R.mjs';
|
|
17
|
-
import '../shared/bee.DxRKWv6n.mjs';
|
|
18
|
-
import 'node:module';
|
|
19
|
-
import 'commander';
|
|
20
|
-
import 'consola/utils';
|
|
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.CHtg3F43.mjs';
|
|
21
14
|
import 'node:fs';
|
|
22
15
|
import 'node:path';
|
|
23
16
|
import 'node:os';
|
|
24
|
-
import '
|
|
17
|
+
import 'node:module';
|
|
18
|
+
import 'commander';
|
|
19
|
+
import 'consola/utils';
|
|
20
|
+
import '../shared/bee.DFnSWb6q.mjs';
|
|
21
|
+
import '../shared/bee.CktwmH8R.mjs';
|
|
22
|
+
import '../shared/bee.CAARNIp6.mjs';
|
|
25
23
|
|
|
26
24
|
const list = new BeeCommand("list").summary("List repositories in a project").description(`Repositories are listed in the configured display order.`).addOption(project()).addOption(json()).addOption(space()).envVars([...ENV_AUTH, ENV_PROJECT]).examples([
|
|
27
25
|
{ description: "List repositories in a project", command: "bee repo list -p PROJECT_KEY" },
|
package/dist/chunks/list7.mjs
CHANGED
|
@@ -2,26 +2,24 @@ import consola from 'consola';
|
|
|
2
2
|
import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
|
|
3
3
|
import 'node:stream/consumers';
|
|
4
4
|
import * as v from 'valibot';
|
|
5
|
-
import { p as parseArg, v as vInteger } from '../
|
|
6
|
-
import { p as printTable } from '../shared/bee.
|
|
7
|
-
import { g as getClient } from '../shared/bee.
|
|
5
|
+
import { p as parseArg, v as vInteger } from '../index.mjs';
|
|
6
|
+
import { p as printTable } from '../shared/bee.a05kNWpn.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 { j as json, o as order, h as offset, f as count, s as space } from '../shared/bee.Bt1TK6yh.mjs';
|
|
15
|
-
import '../shared/bee.Ds2l-nTJ.mjs';
|
|
16
|
-
import '../shared/bee.CktwmH8R.mjs';
|
|
17
|
-
import '../shared/bee.DxRKWv6n.mjs';
|
|
18
|
-
import 'node:module';
|
|
19
|
-
import 'commander';
|
|
20
|
-
import 'consola/utils';
|
|
12
|
+
import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.KteAW2rM.mjs';
|
|
13
|
+
import { j as json, o as order, i as offset, g as count, s as space } from '../shared/bee.CHtg3F43.mjs';
|
|
21
14
|
import 'node:fs';
|
|
22
15
|
import 'node:path';
|
|
23
16
|
import 'node:os';
|
|
24
|
-
import '
|
|
17
|
+
import 'node:module';
|
|
18
|
+
import 'commander';
|
|
19
|
+
import 'consola/utils';
|
|
20
|
+
import '../shared/bee.DFnSWb6q.mjs';
|
|
21
|
+
import '../shared/bee.CktwmH8R.mjs';
|
|
22
|
+
import '../shared/bee.CAARNIp6.mjs';
|
|
25
23
|
|
|
26
24
|
const list = new BeeCommand("list").summary("List teams").description(`Teams are groups of users that can be assigned to projects collectively.`).addOption(json()).addOption(order()).addOption(offset()).addOption(count()).addOption(space()).envVars([...ENV_AUTH]).examples([
|
|
27
25
|
{ description: "List all teams", command: "bee team list" },
|
package/dist/chunks/list8.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 { j as json, s as space } 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 } from '../shared/bee.KteAW2rM.mjs';
|
|
14
|
+
import { j as json, s as space } 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 list = new BeeCommand("list").summary("List users").description(`Only space administrators can see the full list of users.`).addOption(json()).addOption(space()).envVars([...ENV_AUTH]).examples([
|
|
28
26
|
{ description: "List all users", command: "bee user list" },
|
package/dist/chunks/list9.mjs
CHANGED
|
@@ -2,26 +2,24 @@ 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.
|
|
7
|
-
import { g as getClient } from '../shared/bee.
|
|
5
|
+
import '../index.mjs';
|
|
6
|
+
import { p as printTable } from '../shared/bee.a05kNWpn.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, k as keyword, j as json, s as space, r as resolveOptions } from '../shared/bee.Bt1TK6yh.mjs';
|
|
15
|
-
import '../shared/bee.Ds2l-nTJ.mjs';
|
|
16
|
-
import '../shared/bee.CktwmH8R.mjs';
|
|
17
|
-
import '../shared/bee.DxRKWv6n.mjs';
|
|
18
|
-
import 'node:module';
|
|
19
|
-
import 'commander';
|
|
20
|
-
import 'consola/utils';
|
|
12
|
+
import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
|
|
13
|
+
import { d as project, k as keyword, j as json, s as space, r as resolveOptions } from '../shared/bee.CHtg3F43.mjs';
|
|
21
14
|
import 'node:fs';
|
|
22
15
|
import 'node:path';
|
|
23
16
|
import 'node:os';
|
|
24
|
-
import '
|
|
17
|
+
import 'node:module';
|
|
18
|
+
import 'commander';
|
|
19
|
+
import 'consola/utils';
|
|
20
|
+
import '../shared/bee.DFnSWb6q.mjs';
|
|
21
|
+
import '../shared/bee.CktwmH8R.mjs';
|
|
22
|
+
import '../shared/bee.CAARNIp6.mjs';
|
|
25
23
|
|
|
26
24
|
const list = new BeeCommand("list").summary("List wiki pages").description(`Use \`--keyword\` to filter pages by name or content.`).addOption(project()).addOption(keyword()).addOption(json()).addOption(space()).envVars([...ENV_AUTH, ENV_PROJECT]).examples([
|
|
27
25
|
{ description: "List all wiki pages in a project", command: "bee wiki list -p PROJECT" },
|
package/dist/chunks/login.mjs
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
import consola from 'consola';
|
|
2
|
-
import { s as space, a as promptRequired, u as updateConfig } from '../shared/bee.
|
|
2
|
+
import { s as space, a as promptRequired, u as updateConfig } from '../shared/bee.CHtg3F43.mjs';
|
|
3
3
|
import { r as readStdin } from '../shared/bee.C--ZWPxf.mjs';
|
|
4
|
-
import 'valibot';
|
|
5
|
-
import { U as UserError } from '../
|
|
4
|
+
import * as v from 'valibot';
|
|
5
|
+
import { U as UserError, R as RcHostSchema } from '../index.mjs';
|
|
6
6
|
import { Backlog, OAuth2 } from 'backlog-js';
|
|
7
7
|
import { e as exchangeAuthorizationCode } from '../shared/bee.CktwmH8R.mjs';
|
|
8
8
|
import { createServer } from 'node:http';
|
|
9
9
|
import { e as openUrl } from '../shared/bee.CzKcWSES.mjs';
|
|
10
10
|
import 'node:child_process';
|
|
11
|
-
import '../shared/bee.
|
|
12
|
-
import { B as BeeCommand } from '../shared/bee.bmiIlr9W.mjs';
|
|
11
|
+
import { B as BeeCommand } from '../shared/bee.KteAW2rM.mjs';
|
|
13
12
|
import 'node:fs';
|
|
14
13
|
import 'node:path';
|
|
15
14
|
import 'node:os';
|
|
16
15
|
import 'node:stream/consumers';
|
|
17
|
-
import '../shared/bee.BeQSH2t0.mjs';
|
|
18
16
|
import 'commander';
|
|
19
17
|
import 'open';
|
|
20
18
|
import 'node:module';
|
|
@@ -115,11 +113,22 @@ Use \`--method oauth\` for OAuth authentication via the browser.`
|
|
|
115
113
|
if (method !== "api-key" && method !== "oauth") {
|
|
116
114
|
throw new UserError('Invalid auth method. Use "api-key" or "oauth".');
|
|
117
115
|
}
|
|
118
|
-
const hostname =
|
|
119
|
-
|
|
120
|
-
|
|
116
|
+
const hostname = parseHostname(
|
|
117
|
+
await promptRequired("Backlog space hostname:", opts.space, {
|
|
118
|
+
placeholder: "xxx.backlog.com"
|
|
119
|
+
})
|
|
120
|
+
);
|
|
121
121
|
await (method === "api-key" ? loginWithApiKey(hostname, opts) : loginWithOAuth(hostname));
|
|
122
122
|
});
|
|
123
|
+
const parseHostname = (input) => {
|
|
124
|
+
const result = v.safeParse(RcHostSchema, input.trim());
|
|
125
|
+
if (!result.success) {
|
|
126
|
+
throw new UserError(
|
|
127
|
+
`"${input}" is not a valid hostname. Pass the space's bare hostname, without a scheme or path (e.g. xxx.backlog.com).`
|
|
128
|
+
);
|
|
129
|
+
}
|
|
130
|
+
return result.output;
|
|
131
|
+
};
|
|
123
132
|
const loginWithApiKey = async (hostname, opts) => {
|
|
124
133
|
if (!opts.withToken) {
|
|
125
134
|
consola.info(`Tip: you can generate an API key at https://${hostname}/EditApiSettings.action`);
|
package/dist/chunks/logout.mjs
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
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 } from '../shared/bee.
|
|
6
|
-
import { r as removeAllSpaces, a as removeSpace } 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 { r as removeAllSpaces, a as removeSpace } 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/me.mjs
CHANGED
|
@@ -2,28 +2,26 @@ 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.
|
|
7
|
+
import { p as printDefinitionList } from '../shared/bee.C4p7W8_P.mjs';
|
|
8
8
|
import { R as ROLE_LABELS } from '../shared/bee.BXiuAfjJ.mjs';
|
|
9
|
-
import { g as getClient } from '../shared/bee.
|
|
9
|
+
import { g as getClient } from '../shared/bee.RsR9yniy.mjs';
|
|
10
10
|
import 'backlog-js';
|
|
11
11
|
import 'node:http';
|
|
12
12
|
import 'open';
|
|
13
13
|
import 'node:child_process';
|
|
14
|
-
import '../shared/bee.
|
|
15
|
-
import {
|
|
16
|
-
import { j as json, s as space } from '../shared/bee.Bt1TK6yh.mjs';
|
|
17
|
-
import '../shared/bee.Ds2l-nTJ.mjs';
|
|
18
|
-
import '../shared/bee.CktwmH8R.mjs';
|
|
19
|
-
import '../shared/bee.DxRKWv6n.mjs';
|
|
20
|
-
import 'node:module';
|
|
21
|
-
import 'commander';
|
|
22
|
-
import 'consola/utils';
|
|
14
|
+
import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.KteAW2rM.mjs';
|
|
15
|
+
import { j as json, s as space } from '../shared/bee.CHtg3F43.mjs';
|
|
23
16
|
import 'node:fs';
|
|
24
17
|
import 'node:path';
|
|
25
18
|
import 'node:os';
|
|
26
|
-
import '
|
|
19
|
+
import 'node:module';
|
|
20
|
+
import 'commander';
|
|
21
|
+
import 'consola/utils';
|
|
22
|
+
import '../shared/bee.DFnSWb6q.mjs';
|
|
23
|
+
import '../shared/bee.CktwmH8R.mjs';
|
|
24
|
+
import '../shared/bee.CAARNIp6.mjs';
|
|
27
25
|
|
|
28
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([
|
|
29
27
|
{ description: "View your own profile", command: "bee user me" },
|
package/dist/chunks/read-all.mjs
CHANGED
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
import consola from 'consola';
|
|
2
2
|
import 'node:stream/consumers';
|
|
3
3
|
import 'valibot';
|
|
4
|
-
import '../
|
|
5
|
-
import { g as getClient } from '../shared/bee.
|
|
4
|
+
import '../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 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([
|
|
24
22
|
{ description: "Mark all notifications as read", command: "bee notification read-all" }
|