@nulab/bee 1.1.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 +9 -11
- package/dist/chunks/activities2.mjs +9 -11
- package/dist/chunks/activities3.mjs +9 -11
- package/dist/chunks/add-user.mjs +8 -10
- package/dist/chunks/add.mjs +8 -10
- package/dist/chunks/add2.mjs +8 -10
- package/dist/chunks/api.mjs +8 -10
- package/dist/chunks/attachments.mjs +9 -11
- package/dist/chunks/attachments2.mjs +9 -11
- package/dist/chunks/attachments3.mjs +9 -11
- package/dist/chunks/browse.mjs +5 -7
- package/dist/chunks/clone.mjs +8 -10
- package/dist/chunks/close.mjs +8 -10
- package/dist/chunks/comment.mjs +6 -8
- package/dist/chunks/comment2.mjs +9 -11
- package/dist/chunks/comments.mjs +8 -10
- package/dist/chunks/completion.mjs +51 -56
- package/dist/chunks/count.mjs +9 -11
- package/dist/chunks/count2.mjs +8 -10
- package/dist/chunks/count3.mjs +9 -11
- package/dist/chunks/count4.mjs +8 -10
- package/dist/chunks/count5.mjs +8 -10
- package/dist/chunks/create.mjs +5 -7
- package/dist/chunks/create2.mjs +7 -9
- package/dist/chunks/create3.mjs +6 -8
- package/dist/chunks/create4.mjs +6 -8
- package/dist/chunks/create5.mjs +6 -8
- package/dist/chunks/create6.mjs +5 -7
- package/dist/chunks/create7.mjs +5 -7
- package/dist/chunks/create8.mjs +5 -7
- package/dist/chunks/create9.mjs +5 -7
- package/dist/chunks/dashboard.mjs +9 -11
- package/dist/chunks/delete.mjs +5 -7
- package/dist/chunks/delete2.mjs +5 -7
- package/dist/chunks/delete3.mjs +5 -7
- package/dist/chunks/delete4.mjs +5 -7
- package/dist/chunks/delete5.mjs +5 -7
- package/dist/chunks/delete6.mjs +5 -7
- package/dist/chunks/delete7.mjs +5 -7
- package/dist/chunks/delete8.mjs +5 -7
- package/dist/chunks/delete9.mjs +5 -7
- package/dist/chunks/edit.mjs +8 -10
- package/dist/chunks/edit2.mjs +9 -11
- package/dist/chunks/edit3.mjs +9 -11
- package/dist/chunks/edit4.mjs +8 -10
- package/dist/chunks/edit5.mjs +5 -7
- package/dist/chunks/edit6.mjs +8 -10
- package/dist/chunks/edit7.mjs +8 -10
- package/dist/chunks/edit8.mjs +8 -10
- package/dist/chunks/history.mjs +9 -11
- package/dist/chunks/list.mjs +9 -11
- package/dist/chunks/list10.mjs +9 -11
- package/dist/chunks/list11.mjs +9 -11
- package/dist/chunks/list12.mjs +9 -11
- package/dist/chunks/list13.mjs +9 -11
- package/dist/chunks/list14.mjs +9 -11
- package/dist/chunks/list15.mjs +9 -11
- package/dist/chunks/list2.mjs +10 -12
- package/dist/chunks/list3.mjs +10 -12
- package/dist/chunks/list4.mjs +9 -11
- package/dist/chunks/list5.mjs +10 -12
- package/dist/chunks/list6.mjs +9 -11
- package/dist/chunks/list7.mjs +9 -11
- package/dist/chunks/list8.mjs +9 -11
- package/dist/chunks/list9.mjs +9 -11
- package/dist/chunks/login.mjs +2 -4
- package/dist/chunks/logout.mjs +8 -4
- package/dist/chunks/me.mjs +9 -11
- package/dist/chunks/read-all.mjs +8 -10
- package/dist/chunks/read.mjs +8 -10
- package/dist/chunks/read2.mjs +8 -10
- package/dist/chunks/refresh.mjs +4 -6
- package/dist/chunks/remove-user.mjs +8 -10
- package/dist/chunks/remove.mjs +8 -10
- package/dist/chunks/reopen.mjs +8 -10
- package/dist/chunks/status.mjs +7 -4
- package/dist/chunks/status2.mjs +8 -10
- package/dist/chunks/status3.mjs +8 -10
- package/dist/chunks/switch.mjs +7 -3
- package/dist/chunks/tags.mjs +8 -10
- package/dist/chunks/token.mjs +8 -4
- package/dist/chunks/tree.mjs +8 -10
- package/dist/chunks/users.mjs +9 -11
- package/dist/chunks/view.mjs +9 -11
- package/dist/chunks/view2.mjs +12 -13
- package/dist/chunks/view3.mjs +9 -11
- package/dist/chunks/view4.mjs +9 -11
- package/dist/chunks/view5.mjs +9 -11
- package/dist/chunks/view6.mjs +9 -11
- package/dist/chunks/view7.mjs +9 -11
- package/dist/chunks/view8.mjs +9 -11
- package/dist/chunks/view9.mjs +9 -11
- package/dist/index.mjs +37746 -33
- package/dist/shared/{bee.PF8hrVKn.mjs → bee.084B_7FC.mjs} +1 -1
- package/dist/shared/{bee.DfqnFet4.mjs → bee.CAARNIp6.mjs} +1 -1
- package/dist/shared/{bee.B3N0WBdU.mjs → bee.CHtg3F43.mjs} +1 -2
- package/dist/shared/{bee.DessOtkV.mjs → bee.RsR9yniy.mjs} +3 -4
- package/dist/shared/{bee.G4d7izLe.mjs → bee.q93n012-.mjs} +1 -1
- package/package.json +5 -3
- package/dist/shared/bee.BImw1HZl.mjs +0 -28
- package/dist/shared/bee.BYqxm3yG.mjs +0 -24
- package/dist/shared/bee.x-FvgDW2.mjs +0 -37660
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
7
|
import { p as printDefinitionList } from '../shared/bee.C4p7W8_P.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 { o as openOrPrintUrl, i as issueUrl } from '../shared/bee.CzKcWSES.mjs';
|
|
12
12
|
import 'node:child_process';
|
|
13
|
-
import '../shared/bee.x-FvgDW2.mjs';
|
|
14
13
|
import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.KteAW2rM.mjs';
|
|
15
|
-
import { w as web, n as noBrowser, j as json, s as space } from '../shared/bee.
|
|
16
|
-
import '
|
|
17
|
-
import '
|
|
18
|
-
import '
|
|
19
|
-
import '../shared/bee.BImw1HZl.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';
|
|
20
18
|
import 'open';
|
|
21
19
|
import 'node:module';
|
|
22
20
|
import 'commander';
|
|
23
21
|
import 'consola/utils';
|
|
24
|
-
import '
|
|
25
|
-
import '
|
|
26
|
-
import '
|
|
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,29 +1,27 @@
|
|
|
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
7
|
import { p as printDefinitionList } from '../shared/bee.C4p7W8_P.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 { f as documentUrl, o as openOrPrintUrl } from '../shared/bee.CzKcWSES.mjs';
|
|
12
12
|
import 'node:child_process';
|
|
13
|
-
import '../shared/bee.x-FvgDW2.mjs';
|
|
14
13
|
import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
|
|
15
|
-
import { p as projectOptional, w as web, n as noBrowser, j as json, s as space } from '../shared/bee.
|
|
16
|
-
import '
|
|
17
|
-
import '
|
|
18
|
-
import '
|
|
19
|
-
import '../shared/bee.BImw1HZl.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';
|
|
20
18
|
import 'open';
|
|
21
19
|
import 'node:module';
|
|
22
20
|
import 'commander';
|
|
23
21
|
import 'consola/utils';
|
|
24
|
-
import '
|
|
25
|
-
import '
|
|
26
|
-
import '
|
|
22
|
+
import '../shared/bee.DFnSWb6q.mjs';
|
|
23
|
+
import '../shared/bee.CktwmH8R.mjs';
|
|
24
|
+
import '../shared/bee.CAARNIp6.mjs';
|
|
27
25
|
|
|
28
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" },
|
package/dist/chunks/view4.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 { 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
7
|
import { p as printDefinitionList } from '../shared/bee.C4p7W8_P.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 { h as pullRequestUrl, o as openOrPrintUrl } from '../shared/bee.CzKcWSES.mjs';
|
|
12
12
|
import 'node:child_process';
|
|
13
|
-
import '../shared/bee.x-FvgDW2.mjs';
|
|
14
13
|
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, w as web, n as noBrowser, j as json, s as space, r as resolveOptions } from '../shared/bee.
|
|
16
|
-
import '
|
|
17
|
-
import '
|
|
18
|
-
import '
|
|
19
|
-
import '../shared/bee.BImw1HZl.mjs';
|
|
14
|
+
import { d as project, C as repo, w as web, n as noBrowser, j as json, s as space, r as resolveOptions } from '../shared/bee.CHtg3F43.mjs';
|
|
15
|
+
import 'node:fs';
|
|
16
|
+
import 'node:path';
|
|
17
|
+
import 'node:os';
|
|
20
18
|
import 'open';
|
|
21
19
|
import 'node:module';
|
|
22
20
|
import 'commander';
|
|
23
21
|
import 'consola/utils';
|
|
24
|
-
import '
|
|
25
|
-
import '
|
|
26
|
-
import '
|
|
22
|
+
import '../shared/bee.DFnSWb6q.mjs';
|
|
23
|
+
import '../shared/bee.CktwmH8R.mjs';
|
|
24
|
+
import '../shared/bee.CAARNIp6.mjs';
|
|
27
25
|
|
|
28
26
|
const view = new BeeCommand("view").summary("View a pull request").description(`Use \`--web\` to open in the browser.`).argument("<number>", "Pull request number").addOption(project()).addOption(repo()).addOption(web("pull request")).addOption(noBrowser()).addOption(json()).addOption(space()).envVars([...ENV_AUTH, ENV_PROJECT, ENV_REPO]).examples([
|
|
29
27
|
{ description: "View pull request details", command: "bee pr view 42 -p PROJECT -R repo" },
|
package/dist/chunks/view5.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
7
|
import { p as printDefinitionList } from '../shared/bee.C4p7W8_P.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 { r as repositoryUrl, o as openOrPrintUrl } from '../shared/bee.CzKcWSES.mjs';
|
|
12
12
|
import 'node:child_process';
|
|
13
|
-
import '../shared/bee.x-FvgDW2.mjs';
|
|
14
13
|
import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
|
|
15
|
-
import { d as project, w as web, n as noBrowser, j as json, s as space, r as resolveOptions } from '../shared/bee.
|
|
16
|
-
import '
|
|
17
|
-
import '
|
|
18
|
-
import '
|
|
19
|
-
import '../shared/bee.BImw1HZl.mjs';
|
|
14
|
+
import { d as project, w as web, n as noBrowser, j as json, s as space, r as resolveOptions } from '../shared/bee.CHtg3F43.mjs';
|
|
15
|
+
import 'node:fs';
|
|
16
|
+
import 'node:path';
|
|
17
|
+
import 'node:os';
|
|
20
18
|
import 'open';
|
|
21
19
|
import 'node:module';
|
|
22
20
|
import 'commander';
|
|
23
21
|
import 'consola/utils';
|
|
24
|
-
import '
|
|
25
|
-
import '
|
|
26
|
-
import '
|
|
22
|
+
import '../shared/bee.DFnSWb6q.mjs';
|
|
23
|
+
import '../shared/bee.CktwmH8R.mjs';
|
|
24
|
+
import '../shared/bee.CAARNIp6.mjs';
|
|
27
25
|
|
|
28
26
|
const view = new BeeCommand("view").summary("View a repository").description(`Use \`--web\` to open in the browser.`).argument("<repository>", "Repository name or ID").addOption(project()).addOption(web("repository")).addOption(noBrowser()).addOption(json()).addOption(space()).envVars([...ENV_AUTH, ENV_PROJECT]).examples([
|
|
29
27
|
{
|
package/dist/chunks/view6.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 { p as parseArg, v as vInteger } from '../
|
|
5
|
+
import { p as parseArg, v as vInteger } from '../index.mjs';
|
|
6
6
|
import { p as printDefinitionList } from '../shared/bee.C4p7W8_P.mjs';
|
|
7
|
-
import { g as getClient } from '../shared/bee.
|
|
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.x-FvgDW2.mjs';
|
|
13
12
|
import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.KteAW2rM.mjs';
|
|
14
|
-
import { j as json, s as space } from '../shared/bee.
|
|
15
|
-
import '../shared/bee.DFnSWb6q.mjs';
|
|
16
|
-
import '../shared/bee.CktwmH8R.mjs';
|
|
17
|
-
import '../shared/bee.DfqnFet4.mjs';
|
|
18
|
-
import '../shared/bee.BImw1HZl.mjs';
|
|
19
|
-
import 'node:module';
|
|
20
|
-
import 'commander';
|
|
21
|
-
import 'consola/utils';
|
|
13
|
+
import { j as json, s as space } from '../shared/bee.CHtg3F43.mjs';
|
|
22
14
|
import 'node:fs';
|
|
23
15
|
import 'node:path';
|
|
24
16
|
import 'node:os';
|
|
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 view = new BeeCommand("view").summary("View a team").description(`Shows team details and the list of members.`).argument("<team>", "Team ID").addOption(json()).addOption(space()).envVars([...ENV_AUTH]).examples([
|
|
27
25
|
{ description: "View team details", command: "bee team view 12345" },
|
package/dist/chunks/view7.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 { 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
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.x-FvgDW2.mjs';
|
|
15
14
|
import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.KteAW2rM.mjs';
|
|
16
|
-
import { j as json, s as space } from '../shared/bee.
|
|
17
|
-
import '../shared/bee.DFnSWb6q.mjs';
|
|
18
|
-
import '../shared/bee.CktwmH8R.mjs';
|
|
19
|
-
import '../shared/bee.DfqnFet4.mjs';
|
|
20
|
-
import '../shared/bee.BImw1HZl.mjs';
|
|
21
|
-
import 'node:module';
|
|
22
|
-
import 'commander';
|
|
23
|
-
import 'consola/utils';
|
|
15
|
+
import { j as json, s as space } from '../shared/bee.CHtg3F43.mjs';
|
|
24
16
|
import 'node:fs';
|
|
25
17
|
import 'node:path';
|
|
26
18
|
import 'node:os';
|
|
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 view = new BeeCommand("view").summary("View a user").description(`Use \`bee user me\` as a shortcut to view your own profile.`).argument("<user>", "User ID").addOption(json()).addOption(space()).envVars([...ENV_AUTH]).examples([
|
|
29
27
|
{ description: "View user details", command: "bee user view 12345" },
|
package/dist/chunks/view8.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 { 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
7
|
import { p as printDefinitionList } from '../shared/bee.C4p7W8_P.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 { w as wikiUrl, o as openOrPrintUrl } from '../shared/bee.CzKcWSES.mjs';
|
|
12
12
|
import 'node:child_process';
|
|
13
|
-
import '../shared/bee.x-FvgDW2.mjs';
|
|
14
13
|
import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.KteAW2rM.mjs';
|
|
15
|
-
import { w as web, n as noBrowser, j as json, s as space } from '../shared/bee.
|
|
16
|
-
import '
|
|
17
|
-
import '
|
|
18
|
-
import '
|
|
19
|
-
import '../shared/bee.BImw1HZl.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';
|
|
20
18
|
import 'open';
|
|
21
19
|
import 'node:module';
|
|
22
20
|
import 'commander';
|
|
23
21
|
import 'consola/utils';
|
|
24
|
-
import '
|
|
25
|
-
import '
|
|
26
|
-
import '
|
|
22
|
+
import '../shared/bee.DFnSWb6q.mjs';
|
|
23
|
+
import '../shared/bee.CktwmH8R.mjs';
|
|
24
|
+
import '../shared/bee.CAARNIp6.mjs';
|
|
27
25
|
|
|
28
26
|
const view = new BeeCommand("view").summary("View a wiki page").description(`Use \`--web\` to open in the browser.`).argument("<wiki>", "Wiki page ID").addOption(web("wiki page")).addOption(noBrowser()).addOption(json()).addOption(space()).envVars([...ENV_AUTH]).examples([
|
|
29
27
|
{ description: "View a wiki page", command: "bee wiki view 12345" },
|
package/dist/chunks/view9.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
7
|
import { p as printDefinitionList } from '../shared/bee.C4p7W8_P.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.x-FvgDW2.mjs';
|
|
14
13
|
import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.KteAW2rM.mjs';
|
|
15
|
-
import { j as json, s as space } from '../shared/bee.
|
|
16
|
-
import '../shared/bee.DFnSWb6q.mjs';
|
|
17
|
-
import '../shared/bee.CktwmH8R.mjs';
|
|
18
|
-
import '../shared/bee.DfqnFet4.mjs';
|
|
19
|
-
import '../shared/bee.BImw1HZl.mjs';
|
|
20
|
-
import 'node:module';
|
|
21
|
-
import 'commander';
|
|
22
|
-
import 'consola/utils';
|
|
14
|
+
import { j as json, s as space } from '../shared/bee.CHtg3F43.mjs';
|
|
23
15
|
import 'node:fs';
|
|
24
16
|
import 'node:path';
|
|
25
17
|
import 'node:os';
|
|
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 view = new BeeCommand("view").summary("View a watching item").description(`Shows the associated issue, note, read status, and timestamps.`).argument("<watching>", "Watching ID").addOption(json()).addOption(space()).envVars([...ENV_AUTH]).examples([
|
|
28
26
|
{ description: "View a watching item", command: "bee watching view 12345" },
|