@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.
Files changed (103) hide show
  1. package/README.md +6 -3
  2. package/dist/chunks/activities.mjs +9 -11
  3. package/dist/chunks/activities2.mjs +9 -11
  4. package/dist/chunks/activities3.mjs +9 -11
  5. package/dist/chunks/add-user.mjs +8 -10
  6. package/dist/chunks/add.mjs +8 -10
  7. package/dist/chunks/add2.mjs +8 -10
  8. package/dist/chunks/api.mjs +8 -10
  9. package/dist/chunks/attachments.mjs +9 -11
  10. package/dist/chunks/attachments2.mjs +9 -11
  11. package/dist/chunks/attachments3.mjs +9 -11
  12. package/dist/chunks/browse.mjs +5 -7
  13. package/dist/chunks/clone.mjs +8 -10
  14. package/dist/chunks/close.mjs +8 -10
  15. package/dist/chunks/comment.mjs +6 -8
  16. package/dist/chunks/comment2.mjs +9 -11
  17. package/dist/chunks/comments.mjs +8 -10
  18. package/dist/chunks/completion.mjs +51 -56
  19. package/dist/chunks/count.mjs +9 -11
  20. package/dist/chunks/count2.mjs +8 -10
  21. package/dist/chunks/count3.mjs +9 -11
  22. package/dist/chunks/count4.mjs +8 -10
  23. package/dist/chunks/count5.mjs +8 -10
  24. package/dist/chunks/create.mjs +5 -7
  25. package/dist/chunks/create2.mjs +7 -9
  26. package/dist/chunks/create3.mjs +6 -8
  27. package/dist/chunks/create4.mjs +6 -8
  28. package/dist/chunks/create5.mjs +6 -8
  29. package/dist/chunks/create6.mjs +5 -7
  30. package/dist/chunks/create7.mjs +5 -7
  31. package/dist/chunks/create8.mjs +5 -7
  32. package/dist/chunks/create9.mjs +5 -7
  33. package/dist/chunks/dashboard.mjs +9 -11
  34. package/dist/chunks/delete.mjs +5 -7
  35. package/dist/chunks/delete2.mjs +5 -7
  36. package/dist/chunks/delete3.mjs +5 -7
  37. package/dist/chunks/delete4.mjs +5 -7
  38. package/dist/chunks/delete5.mjs +5 -7
  39. package/dist/chunks/delete6.mjs +5 -7
  40. package/dist/chunks/delete7.mjs +5 -7
  41. package/dist/chunks/delete8.mjs +5 -7
  42. package/dist/chunks/delete9.mjs +5 -7
  43. package/dist/chunks/edit.mjs +8 -10
  44. package/dist/chunks/edit2.mjs +9 -11
  45. package/dist/chunks/edit3.mjs +9 -11
  46. package/dist/chunks/edit4.mjs +8 -10
  47. package/dist/chunks/edit5.mjs +5 -7
  48. package/dist/chunks/edit6.mjs +8 -10
  49. package/dist/chunks/edit7.mjs +8 -10
  50. package/dist/chunks/edit8.mjs +8 -10
  51. package/dist/chunks/history.mjs +9 -11
  52. package/dist/chunks/list.mjs +9 -11
  53. package/dist/chunks/list10.mjs +9 -11
  54. package/dist/chunks/list11.mjs +9 -11
  55. package/dist/chunks/list12.mjs +9 -11
  56. package/dist/chunks/list13.mjs +9 -11
  57. package/dist/chunks/list14.mjs +9 -11
  58. package/dist/chunks/list15.mjs +9 -11
  59. package/dist/chunks/list2.mjs +10 -12
  60. package/dist/chunks/list3.mjs +10 -12
  61. package/dist/chunks/list4.mjs +9 -11
  62. package/dist/chunks/list5.mjs +10 -12
  63. package/dist/chunks/list6.mjs +9 -11
  64. package/dist/chunks/list7.mjs +9 -11
  65. package/dist/chunks/list8.mjs +9 -11
  66. package/dist/chunks/list9.mjs +9 -11
  67. package/dist/chunks/login.mjs +2 -4
  68. package/dist/chunks/logout.mjs +8 -4
  69. package/dist/chunks/me.mjs +9 -11
  70. package/dist/chunks/read-all.mjs +8 -10
  71. package/dist/chunks/read.mjs +8 -10
  72. package/dist/chunks/read2.mjs +8 -10
  73. package/dist/chunks/refresh.mjs +4 -6
  74. package/dist/chunks/remove-user.mjs +8 -10
  75. package/dist/chunks/remove.mjs +8 -10
  76. package/dist/chunks/reopen.mjs +8 -10
  77. package/dist/chunks/status.mjs +7 -4
  78. package/dist/chunks/status2.mjs +8 -10
  79. package/dist/chunks/status3.mjs +8 -10
  80. package/dist/chunks/switch.mjs +7 -3
  81. package/dist/chunks/tags.mjs +8 -10
  82. package/dist/chunks/token.mjs +8 -4
  83. package/dist/chunks/tree.mjs +8 -10
  84. package/dist/chunks/users.mjs +9 -11
  85. package/dist/chunks/view.mjs +9 -11
  86. package/dist/chunks/view2.mjs +12 -13
  87. package/dist/chunks/view3.mjs +9 -11
  88. package/dist/chunks/view4.mjs +9 -11
  89. package/dist/chunks/view5.mjs +9 -11
  90. package/dist/chunks/view6.mjs +9 -11
  91. package/dist/chunks/view7.mjs +9 -11
  92. package/dist/chunks/view8.mjs +9 -11
  93. package/dist/chunks/view9.mjs +9 -11
  94. package/dist/index.mjs +37746 -33
  95. package/dist/shared/{bee.PF8hrVKn.mjs → bee.084B_7FC.mjs} +1 -1
  96. package/dist/shared/{bee.DfqnFet4.mjs → bee.CAARNIp6.mjs} +1 -1
  97. package/dist/shared/{bee.B3N0WBdU.mjs → bee.CHtg3F43.mjs} +1 -2
  98. package/dist/shared/{bee.DessOtkV.mjs → bee.RsR9yniy.mjs} +3 -4
  99. package/dist/shared/{bee.G4d7izLe.mjs → bee.q93n012-.mjs} +1 -1
  100. package/package.json +5 -3
  101. package/dist/shared/bee.BImw1HZl.mjs +0 -28
  102. package/dist/shared/bee.BYqxm3yG.mjs +0 -24
  103. package/dist/shared/bee.x-FvgDW2.mjs +0 -37660
package/README.md CHANGED
@@ -2,8 +2,6 @@
2
2
 
3
3
  Bring [Backlog](https://backlog.com/) to your command line.
4
4
 
5
- **Note:** This is not an officially supported Nulab product. It is maintained by volunteers.
6
-
7
5
  ## Install
8
6
 
9
7
  ```sh
@@ -34,6 +32,11 @@ See the [documentation site](https://nulab.github.io/bee) for the full command r
34
32
 
35
33
  See the [repository root README](https://github.com/nulab/bee) for development setup and contributing instructions.
36
34
 
35
+ ## Support
36
+
37
+ Bug reports, feature requests, and questions are handled via [GitHub Issues](https://github.com/nulab/bee/issues/new/choose).
38
+ You can write in English or Japanese.
39
+
37
40
  ## License
38
41
 
39
- MIT
42
+ This project is licensed under the [MIT License](https://github.com/nulab/bee/blob/main/LICENSE).
@@ -3,27 +3,25 @@ import { A as ACTIVITY_LABELS, g as getActivitySummary } from '../shared/bee.Cir
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 '../shared/bee.BYqxm3yG.mjs';
6
+ import { p as parseArg, v as vInteger } from '../index.mjs';
7
7
  import { f as formatDate } from '../shared/bee.n5MYN4a6.mjs';
8
8
  import { p as printTable } from '../shared/bee.a05kNWpn.mjs';
9
- import { g as getClient } from '../shared/bee.DessOtkV.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.x-FvgDW2.mjs';
15
14
  import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
16
- import { d as project, f as collectNum, g as count, o as order, j as json, s as space, r as resolveOptions } from '../shared/bee.B3N0WBdU.mjs';
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 { d as project, f as collectNum, g as count, o as order, j as json, s as space, r as resolveOptions } 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 activities = new BeeCommand("activities").summary("List project activities").description(
29
27
  `Results are ordered by most recent first. Use \`--activity-type\` to filter by type.
@@ -3,27 +3,25 @@ import { A as ACTIVITY_LABELS, g as getActivitySummary } from '../shared/bee.Cir
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 '../shared/bee.BYqxm3yG.mjs';
6
+ import { p as parseArg, v as vInteger } from '../index.mjs';
7
7
  import { f as formatDate } from '../shared/bee.n5MYN4a6.mjs';
8
8
  import { p as printTable } from '../shared/bee.a05kNWpn.mjs';
9
- import { g as getClient } from '../shared/bee.DessOtkV.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.x-FvgDW2.mjs';
15
14
  import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.KteAW2rM.mjs';
16
- import { f as collectNum, g as count, o as order, A as minId, B as maxId, j as json, s as space } from '../shared/bee.B3N0WBdU.mjs';
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 { f as collectNum, g as count, o as order, A as minId, B as maxId, 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 activities = new BeeCommand("activities").summary("List user activities").description(
29
27
  `Results are ordered by most recent first. Use \`--activity-type\` to filter by type.
@@ -3,27 +3,25 @@ import { A as ACTIVITY_LABELS, g as getActivitySummary } from '../shared/bee.Cir
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 '../shared/bee.BYqxm3yG.mjs';
6
+ import { p as parseArg, v as vInteger } from '../index.mjs';
7
7
  import { f as formatDate } from '../shared/bee.n5MYN4a6.mjs';
8
8
  import { p as printTable } from '../shared/bee.a05kNWpn.mjs';
9
- import { g as getClient } from '../shared/bee.DessOtkV.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.x-FvgDW2.mjs';
15
14
  import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.KteAW2rM.mjs';
16
- import { f as collectNum, g as count, o as order, A as minId, B as maxId, j as json, s as space } from '../shared/bee.B3N0WBdU.mjs';
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 { f as collectNum, g as count, o as order, A as minId, B as maxId, 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 activities = new BeeCommand("activities").summary("List space activities").description(
29
27
  `Results are ordered by most recent first. Use \`--activity-type\` to filter by type.
@@ -2,24 +2,22 @@ import consola from 'consola';
2
2
  import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
3
3
  import 'node:stream/consumers';
4
4
  import 'valibot';
5
- import { p as parseArg, v as vInteger } from '../shared/bee.BYqxm3yG.mjs';
6
- import { g as getClient } from '../shared/bee.DessOtkV.mjs';
5
+ import { p as parseArg, v as vInteger } from '../index.mjs';
6
+ import { g as getClient } from '../shared/bee.RsR9yniy.mjs';
7
7
  import 'backlog-js';
8
8
  import 'node:http';
9
9
  import 'open';
10
10
  import 'node:child_process';
11
- import '../shared/bee.x-FvgDW2.mjs';
12
11
  import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
13
- import { d as project, R as RequiredOption, j as json, s as space, r as resolveOptions } from '../shared/bee.B3N0WBdU.mjs';
14
- import '../shared/bee.CktwmH8R.mjs';
15
- import '../shared/bee.DfqnFet4.mjs';
16
- import '../shared/bee.BImw1HZl.mjs';
17
- import 'node:module';
18
- import 'commander';
19
- import 'consola/utils';
12
+ import { d as project, R as RequiredOption, j as json, s as space, r as resolveOptions } from '../shared/bee.CHtg3F43.mjs';
20
13
  import 'node:fs';
21
14
  import 'node:path';
22
15
  import 'node:os';
16
+ import 'node:module';
17
+ import 'commander';
18
+ import 'consola/utils';
19
+ import '../shared/bee.CktwmH8R.mjs';
20
+ import '../shared/bee.CAARNIp6.mjs';
23
21
 
24
22
  const addUser = new BeeCommand("add-user").summary("Add a user to a project").description(`Use \`bee project users\` to look up user IDs.`).addOption(project()).addOption(new RequiredOption("--user-id <id>", "User ID")).addOption(json()).addOption(space()).envVars([...ENV_AUTH, ENV_PROJECT]).examples([
25
23
  {
@@ -1,24 +1,22 @@
1
1
  import consola from 'consola';
2
- import { U as UserError, p as parseArg, v as vInteger } from '../shared/bee.BYqxm3yG.mjs';
2
+ import { U as UserError, p as parseArg, v as vInteger } from '../index.mjs';
3
3
  import 'node:stream/consumers';
4
4
  import 'valibot';
5
- import { g as getClient } from '../shared/bee.DessOtkV.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.x-FvgDW2.mjs';
11
10
  import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.KteAW2rM.mjs';
12
- import { D as issue, s as space } from '../shared/bee.B3N0WBdU.mjs';
13
- import '../shared/bee.CktwmH8R.mjs';
14
- import '../shared/bee.DfqnFet4.mjs';
15
- import '../shared/bee.BImw1HZl.mjs';
16
- import 'node:module';
17
- import 'commander';
18
- import 'consola/utils';
11
+ import { D as issue, s as space } from '../shared/bee.CHtg3F43.mjs';
19
12
  import 'node:fs';
20
13
  import 'node:path';
21
14
  import 'node:os';
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 add = new BeeCommand("add").summary("Add a star").description(
24
22
  `Specify exactly one target: \`--issue\` (accepts key or ID), \`--comment\`, \`--wiki\`, or \`--pr-comment\`.`
@@ -2,24 +2,22 @@ import consola from 'consola';
2
2
  import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
3
3
  import 'node:stream/consumers';
4
4
  import 'valibot';
5
- import '../shared/bee.BYqxm3yG.mjs';
6
- import { g as getClient } from '../shared/bee.DessOtkV.mjs';
5
+ import '../index.mjs';
6
+ import { g as getClient } from '../shared/bee.RsR9yniy.mjs';
7
7
  import 'backlog-js';
8
8
  import 'node:http';
9
9
  import 'open';
10
10
  import 'node:child_process';
11
- import '../shared/bee.x-FvgDW2.mjs';
12
11
  import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.KteAW2rM.mjs';
13
- import { j as json, s as space } from '../shared/bee.B3N0WBdU.mjs';
14
- import '../shared/bee.CktwmH8R.mjs';
15
- import '../shared/bee.DfqnFet4.mjs';
16
- import '../shared/bee.BImw1HZl.mjs';
17
- import 'node:module';
18
- import 'commander';
19
- import 'consola/utils';
12
+ import { j as json, s as space } from '../shared/bee.CHtg3F43.mjs';
20
13
  import 'node:fs';
21
14
  import 'node:path';
22
15
  import 'node:os';
16
+ import 'node:module';
17
+ import 'commander';
18
+ import 'consola/utils';
19
+ import '../shared/bee.CktwmH8R.mjs';
20
+ import '../shared/bee.CAARNIp6.mjs';
23
21
 
24
22
  const add = new BeeCommand("add").summary("Add a watching item").description(`Subscribe to an issue to receive update notifications.`).requiredOption("--issue <key>", "Issue ID or issue key").option("--note <text>", "Note to attach to the watching item").addOption(json()).addOption(space()).envVars([...ENV_AUTH]).examples([
25
23
  { description: "Watch an issue", command: "bee watching add --issue PROJECT-123" },
@@ -2,25 +2,23 @@ import { readFile } from 'node:fs/promises';
2
2
  import { text } from 'node:stream/consumers';
3
3
  import 'consola';
4
4
  import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
5
- import { U as UserError, a as vFiniteNumber } from '../shared/bee.BYqxm3yG.mjs';
5
+ import { U as UserError, a as vFiniteNumber } from '../index.mjs';
6
6
  import * as v from 'valibot';
7
- import { g as getClient } from '../shared/bee.DessOtkV.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.x-FvgDW2.mjs';
13
12
  import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.KteAW2rM.mjs';
14
- import { c as collect, s as space } from '../shared/bee.B3N0WBdU.mjs';
15
- import '../shared/bee.CktwmH8R.mjs';
16
- import '../shared/bee.DfqnFet4.mjs';
17
- import '../shared/bee.BImw1HZl.mjs';
18
- import 'node:module';
19
- import 'commander';
20
- import 'consola/utils';
13
+ import { c as collect, s as space } from '../shared/bee.CHtg3F43.mjs';
21
14
  import 'node:fs';
22
15
  import 'node:path';
23
16
  import 'node:os';
17
+ import 'node:module';
18
+ import 'commander';
19
+ import 'consola/utils';
20
+ import '../shared/bee.CktwmH8R.mjs';
21
+ import '../shared/bee.CAARNIp6.mjs';
24
22
 
25
23
  const api = new BeeCommand("api").summary("Make an authenticated API request").description(
26
24
  `The endpoint is a Backlog API path (e.g. \`users/myself\`). A leading \`/api/v2/\` prefix is stripped automatically.
@@ -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 '../shared/bee.BYqxm3yG.mjs';
5
+ import '../index.mjs';
6
6
  import { a as formatSize, f as formatDate } from '../shared/bee.n5MYN4a6.mjs';
7
7
  import { p as printTable } from '../shared/bee.a05kNWpn.mjs';
8
- import { g as getClient } from '../shared/bee.DessOtkV.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.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.B3N0WBdU.mjs';
16
- import '../shared/bee.DFnSWb6q.mjs';
17
- import '../shared/bee.CktwmH8R.mjs';
18
- import '../shared/bee.DfqnFet4.mjs';
19
- import '../shared/bee.BImw1HZl.mjs';
20
- import 'node:module';
21
- import 'commander';
22
- import 'consola/utils';
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 attachments = new BeeCommand("attachments").summary("List issue attachments").description(`Shows file name, size, creator, and creation date.`).argument("<issue>", "Issue ID or issue key").addOption(json()).addOption(space()).envVars([...ENV_AUTH]).examples([
28
26
  { description: "List attachments", command: "bee issue attachments PROJECT-123" },
@@ -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 '../shared/bee.BYqxm3yG.mjs';
5
+ import '../index.mjs';
6
6
  import { a as formatSize, f as formatDate } from '../shared/bee.n5MYN4a6.mjs';
7
7
  import { p as printTable } from '../shared/bee.a05kNWpn.mjs';
8
- import { g as getClient } from '../shared/bee.DessOtkV.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.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.B3N0WBdU.mjs';
16
- import '../shared/bee.DFnSWb6q.mjs';
17
- import '../shared/bee.CktwmH8R.mjs';
18
- import '../shared/bee.DfqnFet4.mjs';
19
- import '../shared/bee.BImw1HZl.mjs';
20
- import 'node:module';
21
- import 'commander';
22
- import 'consola/utils';
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 attachments = new BeeCommand("attachments").summary("List document attachments").description(`Shows file name, size, creator, and creation date.`).argument("<document>", "Document ID").addOption(json()).addOption(space()).envVars([...ENV_AUTH]).examples([
28
26
  { description: "List attachments", command: "bee document attachments 12345" },
@@ -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 '../shared/bee.BYqxm3yG.mjs';
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 printTable } from '../shared/bee.a05kNWpn.mjs';
8
- import { g as getClient } from '../shared/bee.DessOtkV.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.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.B3N0WBdU.mjs';
16
- import '../shared/bee.DFnSWb6q.mjs';
17
- import '../shared/bee.CktwmH8R.mjs';
18
- import '../shared/bee.DfqnFet4.mjs';
19
- import '../shared/bee.BImw1HZl.mjs';
20
- import 'node:module';
21
- import 'commander';
22
- import 'consola/utils';
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 attachments = new BeeCommand("attachments").summary("List wiki page attachments").description(`Shows file name, size, creator, and creation date.`).argument("<wiki>", "Wiki page ID").addOption(json()).addOption(space()).envVars([...ENV_AUTH]).examples([
28
26
  { description: "List wiki attachments", command: "bee wiki attachments 12345" },
@@ -1,25 +1,23 @@
1
1
  import consola from 'consola';
2
- import { p as parseArg, v as vInteger, U as UserError } from '../shared/bee.BYqxm3yG.mjs';
2
+ import { p as parseArg, v as vInteger, U as UserError } from '../index.mjs';
3
3
  import 'node:stream/consumers';
4
4
  import 'valibot';
5
- import { g as getClient } from '../shared/bee.DessOtkV.mjs';
5
+ import { g as getClient } from '../shared/bee.RsR9yniy.mjs';
6
6
  import 'backlog-js';
7
7
  import 'node:http';
8
8
  import { i as issueUrl, b as buildBacklogUrl, p as projectUrl, r as repositoryUrl, d as dashboardUrl, g as gitCommitUrl, a as gitTreeUrl, c as gitBlobUrl, o as openOrPrintUrl } from '../shared/bee.CzKcWSES.mjs';
9
9
  import { execFile } from 'node:child_process';
10
- import '../shared/bee.x-FvgDW2.mjs';
11
10
  import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
12
- import { p as projectOptional, n as noBrowser, s as space } from '../shared/bee.B3N0WBdU.mjs';
11
+ import { p as projectOptional, n as noBrowser, s as space } from '../shared/bee.CHtg3F43.mjs';
13
12
  import 'node:fs';
14
13
  import 'node:path';
15
14
  import 'node:os';
16
- import '../shared/bee.BImw1HZl.mjs';
17
- import '../shared/bee.CktwmH8R.mjs';
18
- import '../shared/bee.DfqnFet4.mjs';
19
15
  import 'open';
20
16
  import 'node:module';
21
17
  import 'commander';
22
18
  import 'consola/utils';
19
+ import '../shared/bee.CktwmH8R.mjs';
20
+ import '../shared/bee.CAARNIp6.mjs';
23
21
 
24
22
  const parseBacklogRemoteUrl = (url) => {
25
23
  const sshUrlMatch = url.match(
@@ -3,23 +3,21 @@ import consola from 'consola';
3
3
  import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
4
4
  import 'node:stream/consumers';
5
5
  import 'valibot';
6
- import '../shared/bee.BYqxm3yG.mjs';
7
- import { g as getClient } from '../shared/bee.DessOtkV.mjs';
6
+ import '../index.mjs';
7
+ import { g as getClient } from '../shared/bee.RsR9yniy.mjs';
8
8
  import 'backlog-js';
9
9
  import 'node:http';
10
10
  import 'open';
11
- import '../shared/bee.x-FvgDW2.mjs';
12
11
  import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
13
- import { d as project, j as json, s as space, r as resolveOptions } from '../shared/bee.B3N0WBdU.mjs';
14
- import '../shared/bee.CktwmH8R.mjs';
15
- import '../shared/bee.DfqnFet4.mjs';
16
- import '../shared/bee.BImw1HZl.mjs';
17
- import 'node:module';
18
- import 'commander';
19
- import 'consola/utils';
12
+ import { d as project, j as json, s as space, r as resolveOptions } from '../shared/bee.CHtg3F43.mjs';
20
13
  import 'node:fs';
21
14
  import 'node:path';
22
15
  import 'node:os';
16
+ import 'node:module';
17
+ import 'commander';
18
+ import 'consola/utils';
19
+ import '../shared/bee.CktwmH8R.mjs';
20
+ import '../shared/bee.CAARNIp6.mjs';
23
21
 
24
22
  const gitClone = (gitArgs) => new Promise((resolve, reject) => {
25
23
  const child = spawn("git", gitArgs, { stdio: "inherit" });
@@ -3,24 +3,22 @@ import { R as ResolutionId, I as IssueStatusId } from '../shared/bee.Btmq3TXs.mj
3
3
  import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
4
4
  import 'node:stream/consumers';
5
5
  import 'valibot';
6
- import { p as parseArg, v as vInteger } from '../shared/bee.BYqxm3yG.mjs';
7
- import { g as getClient } from '../shared/bee.DessOtkV.mjs';
6
+ import { p as parseArg, v as vInteger } from '../index.mjs';
7
+ import { g as getClient } from '../shared/bee.RsR9yniy.mjs';
8
8
  import 'backlog-js';
9
9
  import 'node:http';
10
10
  import 'open';
11
11
  import 'node:child_process';
12
- import '../shared/bee.x-FvgDW2.mjs';
13
12
  import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.KteAW2rM.mjs';
14
- import { x as notify, j as json, s as space } from '../shared/bee.B3N0WBdU.mjs';
15
- import '../shared/bee.CktwmH8R.mjs';
16
- import '../shared/bee.DfqnFet4.mjs';
17
- import '../shared/bee.BImw1HZl.mjs';
18
- import 'node:module';
19
- import 'commander';
20
- import 'consola/utils';
13
+ import { x as notify, 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';
17
+ import 'node:module';
18
+ import 'commander';
19
+ import 'consola/utils';
20
+ import '../shared/bee.CktwmH8R.mjs';
21
+ import '../shared/bee.CAARNIp6.mjs';
24
22
 
25
23
  const close = new BeeCommand("close").summary("Close an issue").description(
26
24
  `Sets the status to Closed with resolution \`Fixed\` by default. Use \`--resolution\` for a different resolution.`
@@ -1,29 +1,27 @@
1
1
  import consola from 'consola';
2
2
  import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
3
- import { x as notify, y as attachment, j as json, s as space, e as confirmOrExit } from '../shared/bee.B3N0WBdU.mjs';
3
+ import { x as notify, y as attachment, j as json, s as space, e as confirmOrExit } from '../shared/bee.CHtg3F43.mjs';
4
4
  import { a as resolveStdinArg } from '../shared/bee.C--ZWPxf.mjs';
5
5
  import 'valibot';
6
- import '../shared/bee.BYqxm3yG.mjs';
6
+ import '../index.mjs';
7
7
  import { f as formatDate } from '../shared/bee.n5MYN4a6.mjs';
8
8
  import { p as printTable } from '../shared/bee.a05kNWpn.mjs';
9
- import { g as getClient } from '../shared/bee.DessOtkV.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.x-FvgDW2.mjs';
15
14
  import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.KteAW2rM.mjs';
16
15
  import 'node:fs';
17
16
  import 'node:path';
18
17
  import 'node:os';
19
18
  import 'node:stream/consumers';
20
- import '../shared/bee.BImw1HZl.mjs';
21
19
  import 'commander';
22
- import '../shared/bee.DFnSWb6q.mjs';
23
- import '../shared/bee.CktwmH8R.mjs';
24
- import '../shared/bee.DfqnFet4.mjs';
25
20
  import 'node:module';
26
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 comment = new BeeCommand("comment").summary("Add a comment to an issue").description(
29
27
  `When input is piped, it is used as the body automatically.
@@ -2,28 +2,26 @@ import consola from 'consola';
2
2
  import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
3
3
  import { a as resolveStdinArg } from '../shared/bee.C--ZWPxf.mjs';
4
4
  import 'valibot';
5
- import { p as parseArg, v as vInteger } from '../shared/bee.BYqxm3yG.mjs';
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 printTable } from '../shared/bee.a05kNWpn.mjs';
8
- import { g as getClient } from '../shared/bee.DessOtkV.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.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, x as notify, j as json, s as space, r as resolveOptions } from '../shared/bee.B3N0WBdU.mjs';
14
+ import { d as project, C as repo, x as notify, j as json, s as space, r as resolveOptions } from '../shared/bee.CHtg3F43.mjs';
16
15
  import 'node:stream/consumers';
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';
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 comment = new BeeCommand("comment").summary("Add a comment to a pull request").description(
29
27
  `When input is piped, it is used as the body automatically.
@@ -2,25 +2,23 @@ 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 '../shared/bee.BYqxm3yG.mjs';
5
+ import { p as parseArg, v as vInteger } from '../index.mjs';
6
6
  import { f as formatDate } from '../shared/bee.n5MYN4a6.mjs';
7
- import { g as getClient } from '../shared/bee.DessOtkV.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.x-FvgDW2.mjs';
13
12
  import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT, b as ENV_REPO } from '../shared/bee.KteAW2rM.mjs';
14
- import { d as project, C as repo, A as minId, B as maxId, g as count, o as order, j as json, s as space, r as resolveOptions } from '../shared/bee.B3N0WBdU.mjs';
15
- import '../shared/bee.CktwmH8R.mjs';
16
- import '../shared/bee.DfqnFet4.mjs';
17
- import '../shared/bee.BImw1HZl.mjs';
18
- import 'node:module';
19
- import 'commander';
20
- import 'consola/utils';
13
+ import { d as project, C as repo, A as minId, B as maxId, g as count, o as order, 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';
17
+ import 'node:module';
18
+ import 'commander';
19
+ import 'consola/utils';
20
+ import '../shared/bee.CktwmH8R.mjs';
21
+ import '../shared/bee.CAARNIp6.mjs';
24
22
 
25
23
  const comments = new BeeCommand("comments").summary("List comments on a pull request").description(`Displays all comments in chronological order.`).argument("<number>", "Pull request number").addOption(project()).addOption(repo()).addOption(minId()).addOption(maxId()).addOption(count()).addOption(order()).addOption(json()).addOption(space()).envVars([...ENV_AUTH, ENV_PROJECT, ENV_REPO]).examples([
26
24
  {