@nulab/bee 1.0.0 → 1.1.0

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 (121) hide show
  1. package/dist/chunks/activities.mjs +9 -24
  2. package/dist/chunks/activities2.mjs +9 -24
  3. package/dist/chunks/activities3.mjs +9 -24
  4. package/dist/chunks/add-user.mjs +6 -6
  5. package/dist/chunks/add.mjs +6 -6
  6. package/dist/chunks/add2.mjs +6 -6
  7. package/dist/chunks/api.mjs +48 -13
  8. package/dist/chunks/attachments.mjs +8 -8
  9. package/dist/chunks/attachments2.mjs +8 -8
  10. package/dist/chunks/attachments3.mjs +8 -8
  11. package/dist/chunks/browse.mjs +7 -7
  12. package/dist/chunks/clone.mjs +6 -6
  13. package/dist/chunks/close.mjs +6 -6
  14. package/dist/chunks/comment.mjs +8 -8
  15. package/dist/chunks/comment2.mjs +8 -8
  16. package/dist/chunks/comments.mjs +6 -6
  17. package/dist/chunks/completion.mjs +1 -1
  18. package/dist/chunks/count.mjs +8 -13
  19. package/dist/chunks/count2.mjs +6 -6
  20. package/dist/chunks/count3.mjs +6 -6
  21. package/dist/chunks/count4.mjs +6 -6
  22. package/dist/chunks/count5.mjs +6 -6
  23. package/dist/chunks/create.mjs +6 -6
  24. package/dist/chunks/create2.mjs +8 -8
  25. package/dist/chunks/create3.mjs +7 -7
  26. package/dist/chunks/create4.mjs +6 -6
  27. package/dist/chunks/create5.mjs +7 -7
  28. package/dist/chunks/create6.mjs +6 -6
  29. package/dist/chunks/create7.mjs +6 -6
  30. package/dist/chunks/create8.mjs +6 -6
  31. package/dist/chunks/create9.mjs +6 -6
  32. package/dist/chunks/dashboard.mjs +8 -8
  33. package/dist/chunks/delete.mjs +6 -6
  34. package/dist/chunks/delete2.mjs +6 -6
  35. package/dist/chunks/delete3.mjs +6 -6
  36. package/dist/chunks/delete4.mjs +6 -6
  37. package/dist/chunks/delete5.mjs +6 -6
  38. package/dist/chunks/delete6.mjs +6 -6
  39. package/dist/chunks/delete7.mjs +6 -6
  40. package/dist/chunks/delete8.mjs +6 -6
  41. package/dist/chunks/delete9.mjs +6 -6
  42. package/dist/chunks/edit.mjs +6 -6
  43. package/dist/chunks/edit2.mjs +6 -6
  44. package/dist/chunks/edit3.mjs +6 -6
  45. package/dist/chunks/edit4.mjs +6 -6
  46. package/dist/chunks/edit5.mjs +6 -6
  47. package/dist/chunks/edit6.mjs +6 -6
  48. package/dist/chunks/edit7.mjs +6 -6
  49. package/dist/chunks/edit8.mjs +6 -6
  50. package/dist/chunks/history.mjs +8 -8
  51. package/dist/chunks/index.mjs +1 -1
  52. package/dist/chunks/index10.mjs +1 -1
  53. package/dist/chunks/index11.mjs +1 -1
  54. package/dist/chunks/index12.mjs +1 -1
  55. package/dist/chunks/index13.mjs +1 -1
  56. package/dist/chunks/index14.mjs +1 -1
  57. package/dist/chunks/index15.mjs +1 -1
  58. package/dist/chunks/index16.mjs +1 -1
  59. package/dist/chunks/index17.mjs +1 -1
  60. package/dist/chunks/index2.mjs +1 -1
  61. package/dist/chunks/index3.mjs +1 -1
  62. package/dist/chunks/index4.mjs +1 -1
  63. package/dist/chunks/index5.mjs +1 -1
  64. package/dist/chunks/index6.mjs +1 -1
  65. package/dist/chunks/index7.mjs +1 -1
  66. package/dist/chunks/index8.mjs +1 -1
  67. package/dist/chunks/index9.mjs +1 -1
  68. package/dist/chunks/list.mjs +8 -8
  69. package/dist/chunks/list10.mjs +8 -8
  70. package/dist/chunks/list11.mjs +8 -8
  71. package/dist/chunks/list12.mjs +8 -8
  72. package/dist/chunks/list13.mjs +8 -8
  73. package/dist/chunks/list14.mjs +8 -8
  74. package/dist/chunks/list15.mjs +8 -8
  75. package/dist/chunks/list2.mjs +10 -15
  76. package/dist/chunks/list3.mjs +8 -8
  77. package/dist/chunks/list4.mjs +8 -8
  78. package/dist/chunks/list5.mjs +8 -8
  79. package/dist/chunks/list6.mjs +8 -8
  80. package/dist/chunks/list7.mjs +8 -8
  81. package/dist/chunks/list8.mjs +8 -8
  82. package/dist/chunks/list9.mjs +8 -8
  83. package/dist/chunks/login.mjs +19 -8
  84. package/dist/chunks/logout.mjs +4 -4
  85. package/dist/chunks/me.mjs +8 -8
  86. package/dist/chunks/read-all.mjs +6 -6
  87. package/dist/chunks/read.mjs +6 -6
  88. package/dist/chunks/read2.mjs +6 -6
  89. package/dist/chunks/refresh.mjs +5 -5
  90. package/dist/chunks/remove-user.mjs +6 -6
  91. package/dist/chunks/remove.mjs +6 -6
  92. package/dist/chunks/reopen.mjs +6 -6
  93. package/dist/chunks/status.mjs +5 -5
  94. package/dist/chunks/status2.mjs +6 -6
  95. package/dist/chunks/status3.mjs +6 -6
  96. package/dist/chunks/switch.mjs +3 -3
  97. package/dist/chunks/tags.mjs +6 -6
  98. package/dist/chunks/token.mjs +4 -4
  99. package/dist/chunks/tree.mjs +6 -6
  100. package/dist/chunks/users.mjs +8 -8
  101. package/dist/chunks/view.mjs +8 -8
  102. package/dist/chunks/view2.mjs +8 -8
  103. package/dist/chunks/view3.mjs +9 -9
  104. package/dist/chunks/view4.mjs +8 -8
  105. package/dist/chunks/view5.mjs +8 -8
  106. package/dist/chunks/view6.mjs +8 -8
  107. package/dist/chunks/view7.mjs +8 -8
  108. package/dist/chunks/view8.mjs +8 -8
  109. package/dist/chunks/view9.mjs +8 -8
  110. package/dist/index.mjs +8 -7
  111. package/dist/shared/{bee.Bt1TK6yh.mjs → bee.B3N0WBdU.mjs} +46 -6
  112. package/dist/shared/{bee.BeQSH2t0.mjs → bee.BImw1HZl.mjs} +6 -3
  113. package/dist/shared/{bee.D6yQ6Pqf.mjs → bee.C4p7W8_P.mjs} +1 -1
  114. package/dist/shared/{bee.CCNmDHVv.mjs → bee.CirccSk2.mjs} +19 -1
  115. package/dist/shared/{bee.Ds2l-nTJ.mjs → bee.DFnSWb6q.mjs} +101 -13
  116. package/dist/shared/{bee.OJ0vqxJN.mjs → bee.DessOtkV.mjs} +10 -3
  117. package/dist/shared/{bee.DxRKWv6n.mjs → bee.DfqnFet4.mjs} +1 -1
  118. package/dist/shared/{bee.bmiIlr9W.mjs → bee.KteAW2rM.mjs} +12 -2
  119. package/dist/shared/{bee.IM3QELRf.mjs → bee.a05kNWpn.mjs} +1 -1
  120. package/dist/shared/{bee.BtxMsVL4.mjs → bee.x-FvgDW2.mjs} +3230 -674
  121. package/package.json +9 -9
@@ -1,4 +1,4 @@
1
- import { B as BeeCommand } from '../shared/bee.bmiIlr9W.mjs';
1
+ import { B as BeeCommand } from '../shared/bee.KteAW2rM.mjs';
2
2
  import 'commander';
3
3
  import 'consola/utils';
4
4
 
@@ -1,4 +1,4 @@
1
- import { B as BeeCommand } from '../shared/bee.bmiIlr9W.mjs';
1
+ import { B as BeeCommand } from '../shared/bee.KteAW2rM.mjs';
2
2
  import 'commander';
3
3
  import 'consola/utils';
4
4
 
@@ -1,4 +1,4 @@
1
- import { B as BeeCommand } from '../shared/bee.bmiIlr9W.mjs';
1
+ import { B as BeeCommand } from '../shared/bee.KteAW2rM.mjs';
2
2
  import 'commander';
3
3
  import 'consola/utils';
4
4
 
@@ -1,4 +1,4 @@
1
- import { B as BeeCommand } from '../shared/bee.bmiIlr9W.mjs';
1
+ import { B as BeeCommand } from '../shared/bee.KteAW2rM.mjs';
2
2
  import 'commander';
3
3
  import 'consola/utils';
4
4
 
@@ -1,4 +1,4 @@
1
- import { B as BeeCommand } from '../shared/bee.bmiIlr9W.mjs';
1
+ import { B as BeeCommand } from '../shared/bee.KteAW2rM.mjs';
2
2
  import 'commander';
3
3
  import 'consola/utils';
4
4
 
@@ -1,4 +1,4 @@
1
- import { B as BeeCommand } from '../shared/bee.bmiIlr9W.mjs';
1
+ import { B as BeeCommand } from '../shared/bee.KteAW2rM.mjs';
2
2
  import 'commander';
3
3
  import 'consola/utils';
4
4
 
@@ -1,4 +1,4 @@
1
- import { B as BeeCommand } from '../shared/bee.bmiIlr9W.mjs';
1
+ import { B as BeeCommand } from '../shared/bee.KteAW2rM.mjs';
2
2
  import 'commander';
3
3
  import 'consola/utils';
4
4
 
@@ -1,4 +1,4 @@
1
- import { B as BeeCommand } from '../shared/bee.bmiIlr9W.mjs';
1
+ import { B as BeeCommand } from '../shared/bee.KteAW2rM.mjs';
2
2
  import 'commander';
3
3
  import 'consola/utils';
4
4
 
@@ -1,4 +1,4 @@
1
- import { B as BeeCommand } from '../shared/bee.bmiIlr9W.mjs';
1
+ import { B as BeeCommand } from '../shared/bee.KteAW2rM.mjs';
2
2
  import 'commander';
3
3
  import 'consola/utils';
4
4
 
@@ -3,25 +3,25 @@ import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
3
3
  import 'node:stream/consumers';
4
4
  import 'valibot';
5
5
  import '../shared/bee.BYqxm3yG.mjs';
6
- import { p as printTable } from '../shared/bee.IM3QELRf.mjs';
7
- import { g as getClient } from '../shared/bee.OJ0vqxJN.mjs';
6
+ import { p as printTable } from '../shared/bee.a05kNWpn.mjs';
7
+ import { g as getClient } from '../shared/bee.DessOtkV.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.BtxMsVL4.mjs';
13
- import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.bmiIlr9W.mjs';
14
- import { j as json, s as space } from '../shared/bee.Bt1TK6yh.mjs';
15
- import '../shared/bee.Ds2l-nTJ.mjs';
12
+ import '../shared/bee.x-FvgDW2.mjs';
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.B3N0WBdU.mjs';
15
+ import '../shared/bee.DFnSWb6q.mjs';
16
16
  import '../shared/bee.CktwmH8R.mjs';
17
- import '../shared/bee.DxRKWv6n.mjs';
17
+ import '../shared/bee.DfqnFet4.mjs';
18
+ import '../shared/bee.BImw1HZl.mjs';
18
19
  import 'node:module';
19
20
  import 'commander';
20
21
  import 'consola/utils';
21
22
  import 'node:fs';
22
23
  import 'node:path';
23
24
  import 'node:os';
24
- import '../shared/bee.BeQSH2t0.mjs';
25
25
 
26
26
  const list = new BeeCommand("list").summary("List projects").description(
27
27
  `By default, only active (non-archived) projects are shown. Use \`--all\` to list all projects in the space (admin only).`
@@ -3,25 +3,25 @@ import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
3
3
  import 'node:stream/consumers';
4
4
  import 'valibot';
5
5
  import '../shared/bee.BYqxm3yG.mjs';
6
- import { p as printTable } from '../shared/bee.IM3QELRf.mjs';
7
- import { g as getClient } from '../shared/bee.OJ0vqxJN.mjs';
6
+ import { p as printTable } from '../shared/bee.a05kNWpn.mjs';
7
+ import { g as getClient } from '../shared/bee.DessOtkV.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.BtxMsVL4.mjs';
13
- import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.bmiIlr9W.mjs';
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';
12
+ import '../shared/bee.x-FvgDW2.mjs';
13
+ import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
14
+ import { d as project, j as json, s as space, r as resolveOptions } from '../shared/bee.B3N0WBdU.mjs';
15
+ import '../shared/bee.DFnSWb6q.mjs';
16
16
  import '../shared/bee.CktwmH8R.mjs';
17
- import '../shared/bee.DxRKWv6n.mjs';
17
+ import '../shared/bee.DfqnFet4.mjs';
18
+ import '../shared/bee.BImw1HZl.mjs';
18
19
  import 'node:module';
19
20
  import 'commander';
20
21
  import 'consola/utils';
21
22
  import 'node:fs';
22
23
  import 'node:path';
23
24
  import 'node:os';
24
- import '../shared/bee.BeQSH2t0.mjs';
25
25
 
26
26
  const list = new BeeCommand("list").summary("List categories").description(`Categories help organize issues by grouping them into logical areas.`).addOption(project()).addOption(json()).addOption(space()).envVars([...ENV_AUTH, ENV_PROJECT]).examples([
27
27
  { description: "List all categories in a project", command: "bee category list -p PROJECT" },
@@ -3,25 +3,25 @@ import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
3
3
  import 'node:stream/consumers';
4
4
  import 'valibot';
5
5
  import '../shared/bee.BYqxm3yG.mjs';
6
- import { p as printTable } from '../shared/bee.IM3QELRf.mjs';
7
- import { g as getClient } from '../shared/bee.OJ0vqxJN.mjs';
6
+ import { p as printTable } from '../shared/bee.a05kNWpn.mjs';
7
+ import { g as getClient } from '../shared/bee.DessOtkV.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.BtxMsVL4.mjs';
13
- import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.bmiIlr9W.mjs';
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';
12
+ import '../shared/bee.x-FvgDW2.mjs';
13
+ import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
14
+ import { d as project, j as json, s as space, r as resolveOptions } from '../shared/bee.B3N0WBdU.mjs';
15
+ import '../shared/bee.DFnSWb6q.mjs';
16
16
  import '../shared/bee.CktwmH8R.mjs';
17
- import '../shared/bee.DxRKWv6n.mjs';
17
+ import '../shared/bee.DfqnFet4.mjs';
18
+ import '../shared/bee.BImw1HZl.mjs';
18
19
  import 'node:module';
19
20
  import 'commander';
20
21
  import 'consola/utils';
21
22
  import 'node:fs';
22
23
  import 'node:path';
23
24
  import 'node:os';
24
- import '../shared/bee.BeQSH2t0.mjs';
25
25
 
26
26
  const list = new BeeCommand("list").summary("List milestones").description(
27
27
  `Milestones (versions) track release schedules and group issues by development cycle.`
@@ -3,25 +3,25 @@ import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
3
3
  import 'node:stream/consumers';
4
4
  import 'valibot';
5
5
  import '../shared/bee.BYqxm3yG.mjs';
6
- import { p as printTable } from '../shared/bee.IM3QELRf.mjs';
7
- import { g as getClient } from '../shared/bee.OJ0vqxJN.mjs';
6
+ import { p as printTable } from '../shared/bee.a05kNWpn.mjs';
7
+ import { g as getClient } from '../shared/bee.DessOtkV.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.BtxMsVL4.mjs';
13
- import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.bmiIlr9W.mjs';
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';
12
+ import '../shared/bee.x-FvgDW2.mjs';
13
+ import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
14
+ import { d as project, j as json, s as space, r as resolveOptions } from '../shared/bee.B3N0WBdU.mjs';
15
+ import '../shared/bee.DFnSWb6q.mjs';
16
16
  import '../shared/bee.CktwmH8R.mjs';
17
- import '../shared/bee.DxRKWv6n.mjs';
17
+ import '../shared/bee.DfqnFet4.mjs';
18
+ import '../shared/bee.BImw1HZl.mjs';
18
19
  import 'node:module';
19
20
  import 'commander';
20
21
  import 'consola/utils';
21
22
  import 'node:fs';
22
23
  import 'node:path';
23
24
  import 'node:os';
24
- import '../shared/bee.BeQSH2t0.mjs';
25
25
 
26
26
  const list = new BeeCommand("list").summary("List issue types").description(`Issue types categorize issues and are displayed with their associated color.`).addOption(project()).addOption(json()).addOption(space()).envVars([...ENV_AUTH, ENV_PROJECT]).examples([
27
27
  { description: "List all issue types", command: "bee issue-type list -p PROJECT" },
@@ -3,25 +3,25 @@ import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
3
3
  import 'node:stream/consumers';
4
4
  import 'valibot';
5
5
  import '../shared/bee.BYqxm3yG.mjs';
6
- import { p as printTable } from '../shared/bee.IM3QELRf.mjs';
7
- import { g as getClient } from '../shared/bee.OJ0vqxJN.mjs';
6
+ import { p as printTable } from '../shared/bee.a05kNWpn.mjs';
7
+ import { g as getClient } from '../shared/bee.DessOtkV.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.BtxMsVL4.mjs';
13
- import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.bmiIlr9W.mjs';
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';
12
+ import '../shared/bee.x-FvgDW2.mjs';
13
+ import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
14
+ import { d as project, j as json, s as space, r as resolveOptions } from '../shared/bee.B3N0WBdU.mjs';
15
+ import '../shared/bee.DFnSWb6q.mjs';
16
16
  import '../shared/bee.CktwmH8R.mjs';
17
- import '../shared/bee.DxRKWv6n.mjs';
17
+ import '../shared/bee.DfqnFet4.mjs';
18
+ import '../shared/bee.BImw1HZl.mjs';
18
19
  import 'node:module';
19
20
  import 'commander';
20
21
  import 'consola/utils';
21
22
  import 'node:fs';
22
23
  import 'node:path';
23
24
  import 'node:os';
24
- import '../shared/bee.BeQSH2t0.mjs';
25
25
 
26
26
  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
27
  { description: "List all statuses", command: "bee status list -p PROJECT" },
@@ -4,25 +4,25 @@ import 'node:stream/consumers';
4
4
  import 'valibot';
5
5
  import { p as parseArg, v as vInteger } from '../shared/bee.BYqxm3yG.mjs';
6
6
  import { f as formatDate } from '../shared/bee.n5MYN4a6.mjs';
7
- import { p as printTable } from '../shared/bee.IM3QELRf.mjs';
8
- import { g as getClient } from '../shared/bee.OJ0vqxJN.mjs';
7
+ import { p as printTable } from '../shared/bee.a05kNWpn.mjs';
8
+ import { g as getClient } from '../shared/bee.DessOtkV.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.BtxMsVL4.mjs';
14
- import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.bmiIlr9W.mjs';
15
- import { j as json, s as space } from '../shared/bee.Bt1TK6yh.mjs';
16
- import '../shared/bee.Ds2l-nTJ.mjs';
13
+ import '../shared/bee.x-FvgDW2.mjs';
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.B3N0WBdU.mjs';
16
+ import '../shared/bee.DFnSWb6q.mjs';
17
17
  import '../shared/bee.CktwmH8R.mjs';
18
- import '../shared/bee.DxRKWv6n.mjs';
18
+ import '../shared/bee.DfqnFet4.mjs';
19
+ import '../shared/bee.BImw1HZl.mjs';
19
20
  import 'node:module';
20
21
  import 'commander';
21
22
  import 'consola/utils';
22
23
  import 'node:fs';
23
24
  import 'node:path';
24
25
  import 'node:os';
25
- import '../shared/bee.BeQSH2t0.mjs';
26
26
 
27
27
  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
28
  { description: "List your stars", command: "bee star list" },
@@ -3,25 +3,25 @@ import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
3
3
  import 'node:stream/consumers';
4
4
  import 'valibot';
5
5
  import '../shared/bee.BYqxm3yG.mjs';
6
- import { p as printTable } from '../shared/bee.IM3QELRf.mjs';
7
- import { g as getClient } from '../shared/bee.OJ0vqxJN.mjs';
6
+ import { p as printTable } from '../shared/bee.a05kNWpn.mjs';
7
+ import { g as getClient } from '../shared/bee.DessOtkV.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.BtxMsVL4.mjs';
13
- import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.bmiIlr9W.mjs';
14
- import { j as json, s as space } from '../shared/bee.Bt1TK6yh.mjs';
15
- import '../shared/bee.Ds2l-nTJ.mjs';
12
+ import '../shared/bee.x-FvgDW2.mjs';
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.B3N0WBdU.mjs';
15
+ import '../shared/bee.DFnSWb6q.mjs';
16
16
  import '../shared/bee.CktwmH8R.mjs';
17
- import '../shared/bee.DxRKWv6n.mjs';
17
+ import '../shared/bee.DfqnFet4.mjs';
18
+ import '../shared/bee.BImw1HZl.mjs';
18
19
  import 'node:module';
19
20
  import 'commander';
20
21
  import 'consola/utils';
21
22
  import 'node:fs';
22
23
  import 'node:path';
23
24
  import 'node:os';
24
- import '../shared/bee.BeQSH2t0.mjs';
25
25
 
26
26
  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
27
  { description: "List your watching items", command: "bee watching list" },
@@ -2,29 +2,29 @@ import consola from 'consola';
2
2
  import { P as PriorityId, a as PRIORITY_NAMES } from '../shared/bee.Btmq3TXs.mjs';
3
3
  import { r as resolveProjectIds } from '../shared/bee.PF8hrVKn.mjs';
4
4
  import { r as resolveUserId } from '../shared/bee.G4d7izLe.mjs';
5
- import { g as getClient } from '../shared/bee.OJ0vqxJN.mjs';
5
+ import { g as getClient } from '../shared/bee.DessOtkV.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.BtxMsVL4.mjs';
10
+ import '../shared/bee.x-FvgDW2.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
14
  import { p as parseArg, v as vInteger } from '../shared/bee.BYqxm3yG.mjs';
15
- import { p as printTable } from '../shared/bee.IM3QELRf.mjs';
16
- import { Option } from 'commander';
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';
15
+ import { p as printTable } from '../shared/bee.a05kNWpn.mjs';
16
+ import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
17
+ 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.B3N0WBdU.mjs';
19
18
  import '../shared/bee.CktwmH8R.mjs';
20
- import '../shared/bee.DxRKWv6n.mjs';
19
+ import '../shared/bee.DfqnFet4.mjs';
20
+ import '../shared/bee.BImw1HZl.mjs';
21
21
  import 'node:module';
22
- import '../shared/bee.Ds2l-nTJ.mjs';
22
+ import '../shared/bee.DFnSWb6q.mjs';
23
+ import 'commander';
23
24
  import 'consola/utils';
24
25
  import 'node:fs';
25
26
  import 'node:path';
26
27
  import 'node:os';
27
- import '../shared/bee.BeQSH2t0.mjs';
28
28
 
29
29
  const resolvePriorityIds = (priorities) => priorities.map((name) => {
30
30
  const id = PriorityId[name.toLowerCase()];
@@ -35,12 +35,7 @@ const resolvePriorityIds = (priorities) => priorities.map((name) => {
35
35
  });
36
36
  const list = new BeeCommand("list").summary("List issues").description(
37
37
  `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([
38
+ ).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
39
  { description: "List issues in a project", command: "bee issue list -p PROJECT" },
45
40
  { description: "List your assigned issues", command: "bee issue list -p PROJECT -a @me" },
46
41
  {
@@ -6,25 +6,25 @@ import * as v from 'valibot';
6
6
  import { safeParse } from 'valibot';
7
7
  import { a as vFiniteNumber, p as parseArg, v as vInteger } from '../shared/bee.BYqxm3yG.mjs';
8
8
  import { f as formatDate } from '../shared/bee.n5MYN4a6.mjs';
9
- import { p as printTable } from '../shared/bee.IM3QELRf.mjs';
10
- import { g as getClient } from '../shared/bee.OJ0vqxJN.mjs';
9
+ import { p as printTable } from '../shared/bee.a05kNWpn.mjs';
10
+ import { g as getClient } from '../shared/bee.DessOtkV.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.BtxMsVL4.mjs';
16
- import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.bmiIlr9W.mjs';
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';
15
+ import '../shared/bee.x-FvgDW2.mjs';
16
+ import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
17
+ 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.B3N0WBdU.mjs';
18
+ import '../shared/bee.DFnSWb6q.mjs';
19
19
  import '../shared/bee.CktwmH8R.mjs';
20
- import '../shared/bee.DxRKWv6n.mjs';
20
+ import '../shared/bee.DfqnFet4.mjs';
21
+ import '../shared/bee.BImw1HZl.mjs';
21
22
  import 'node:module';
22
23
  import 'commander';
23
24
  import 'consola/utils';
24
25
  import 'node:fs';
25
26
  import 'node:path';
26
27
  import 'node:os';
27
- import '../shared/bee.BeQSH2t0.mjs';
28
28
 
29
29
  const splitArg = (input, schema) => {
30
30
  if (!input) {
@@ -4,25 +4,25 @@ import 'node:stream/consumers';
4
4
  import * as v from 'valibot';
5
5
  import { p as parseArg, v as vInteger } from '../shared/bee.BYqxm3yG.mjs';
6
6
  import { f as formatDate } from '../shared/bee.n5MYN4a6.mjs';
7
- import { p as printTable } from '../shared/bee.IM3QELRf.mjs';
8
- import { g as getClient } from '../shared/bee.OJ0vqxJN.mjs';
7
+ import { p as printTable } from '../shared/bee.a05kNWpn.mjs';
8
+ import { g as getClient } from '../shared/bee.DessOtkV.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.BtxMsVL4.mjs';
14
- import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.bmiIlr9W.mjs';
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';
13
+ import '../shared/bee.x-FvgDW2.mjs';
14
+ import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.KteAW2rM.mjs';
15
+ import { g as count, A as minId, B as maxId, o as order, j as json, s as space } from '../shared/bee.B3N0WBdU.mjs';
16
+ import '../shared/bee.DFnSWb6q.mjs';
17
17
  import '../shared/bee.CktwmH8R.mjs';
18
- import '../shared/bee.DxRKWv6n.mjs';
18
+ import '../shared/bee.DfqnFet4.mjs';
19
+ import '../shared/bee.BImw1HZl.mjs';
19
20
  import 'node:module';
20
21
  import 'commander';
21
22
  import 'consola/utils';
22
23
  import 'node:fs';
23
24
  import 'node:path';
24
25
  import 'node:os';
25
- import '../shared/bee.BeQSH2t0.mjs';
26
26
 
27
27
  const NOTIFICATION_REASON_LABELS = {
28
28
  1: "Assigned",
@@ -4,26 +4,26 @@ 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 { p as parseArg, v as vInteger } from '../shared/bee.BYqxm3yG.mjs';
7
- import { p as printTable } from '../shared/bee.IM3QELRf.mjs';
7
+ import { p as printTable } from '../shared/bee.a05kNWpn.mjs';
8
8
  import { r as resolveUserId } from '../shared/bee.G4d7izLe.mjs';
9
- import { g as getClient } from '../shared/bee.OJ0vqxJN.mjs';
9
+ import { g as getClient } from '../shared/bee.DessOtkV.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.BtxMsVL4.mjs';
15
- import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT, b as ENV_REPO } from '../shared/bee.bmiIlr9W.mjs';
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';
14
+ import '../shared/bee.x-FvgDW2.mjs';
15
+ import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT, b as ENV_REPO } from '../shared/bee.KteAW2rM.mjs';
16
+ 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.B3N0WBdU.mjs';
17
+ import '../shared/bee.DFnSWb6q.mjs';
18
18
  import '../shared/bee.CktwmH8R.mjs';
19
- import '../shared/bee.DxRKWv6n.mjs';
19
+ import '../shared/bee.DfqnFet4.mjs';
20
+ import '../shared/bee.BImw1HZl.mjs';
20
21
  import 'node:module';
21
22
  import 'commander';
22
23
  import 'consola/utils';
23
24
  import 'node:fs';
24
25
  import 'node:path';
25
26
  import 'node:os';
26
- import '../shared/bee.BeQSH2t0.mjs';
27
27
 
28
28
  const resolveStatusIds = (statuses) => statuses.map((name) => {
29
29
  const id = PrStatusName[name.toLowerCase()];
@@ -3,25 +3,25 @@ import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
3
3
  import 'node:stream/consumers';
4
4
  import 'valibot';
5
5
  import '../shared/bee.BYqxm3yG.mjs';
6
- import { p as printTable } from '../shared/bee.IM3QELRf.mjs';
7
- import { g as getClient } from '../shared/bee.OJ0vqxJN.mjs';
6
+ import { p as printTable } from '../shared/bee.a05kNWpn.mjs';
7
+ import { g as getClient } from '../shared/bee.DessOtkV.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.BtxMsVL4.mjs';
13
- import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.bmiIlr9W.mjs';
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';
12
+ import '../shared/bee.x-FvgDW2.mjs';
13
+ import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
14
+ import { d as project, j as json, s as space, r as resolveOptions } from '../shared/bee.B3N0WBdU.mjs';
15
+ import '../shared/bee.DFnSWb6q.mjs';
16
16
  import '../shared/bee.CktwmH8R.mjs';
17
- import '../shared/bee.DxRKWv6n.mjs';
17
+ import '../shared/bee.DfqnFet4.mjs';
18
+ import '../shared/bee.BImw1HZl.mjs';
18
19
  import 'node:module';
19
20
  import 'commander';
20
21
  import 'consola/utils';
21
22
  import 'node:fs';
22
23
  import 'node:path';
23
24
  import 'node:os';
24
- import '../shared/bee.BeQSH2t0.mjs';
25
25
 
26
26
  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
27
  { description: "List repositories in a project", command: "bee repo list -p PROJECT_KEY" },
@@ -3,25 +3,25 @@ import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
3
3
  import 'node:stream/consumers';
4
4
  import * as v from 'valibot';
5
5
  import { p as parseArg, v as vInteger } from '../shared/bee.BYqxm3yG.mjs';
6
- import { p as printTable } from '../shared/bee.IM3QELRf.mjs';
7
- import { g as getClient } from '../shared/bee.OJ0vqxJN.mjs';
6
+ import { p as printTable } from '../shared/bee.a05kNWpn.mjs';
7
+ import { g as getClient } from '../shared/bee.DessOtkV.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.BtxMsVL4.mjs';
13
- import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.bmiIlr9W.mjs';
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';
12
+ import '../shared/bee.x-FvgDW2.mjs';
13
+ import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.KteAW2rM.mjs';
14
+ import { j as json, o as order, i as offset, g as count, s as space } from '../shared/bee.B3N0WBdU.mjs';
15
+ import '../shared/bee.DFnSWb6q.mjs';
16
16
  import '../shared/bee.CktwmH8R.mjs';
17
- import '../shared/bee.DxRKWv6n.mjs';
17
+ import '../shared/bee.DfqnFet4.mjs';
18
+ import '../shared/bee.BImw1HZl.mjs';
18
19
  import 'node:module';
19
20
  import 'commander';
20
21
  import 'consola/utils';
21
22
  import 'node:fs';
22
23
  import 'node:path';
23
24
  import 'node:os';
24
- import '../shared/bee.BeQSH2t0.mjs';
25
25
 
26
26
  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
27
  { description: "List all teams", command: "bee team list" },
@@ -3,26 +3,26 @@ import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
3
3
  import 'node:stream/consumers';
4
4
  import 'valibot';
5
5
  import '../shared/bee.BYqxm3yG.mjs';
6
- import { p as printTable } from '../shared/bee.IM3QELRf.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.OJ0vqxJN.mjs';
8
+ import { g as getClient } from '../shared/bee.DessOtkV.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.BtxMsVL4.mjs';
14
- import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.bmiIlr9W.mjs';
15
- import { j as json, s as space } from '../shared/bee.Bt1TK6yh.mjs';
16
- import '../shared/bee.Ds2l-nTJ.mjs';
13
+ import '../shared/bee.x-FvgDW2.mjs';
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.B3N0WBdU.mjs';
16
+ import '../shared/bee.DFnSWb6q.mjs';
17
17
  import '../shared/bee.CktwmH8R.mjs';
18
- import '../shared/bee.DxRKWv6n.mjs';
18
+ import '../shared/bee.DfqnFet4.mjs';
19
+ import '../shared/bee.BImw1HZl.mjs';
19
20
  import 'node:module';
20
21
  import 'commander';
21
22
  import 'consola/utils';
22
23
  import 'node:fs';
23
24
  import 'node:path';
24
25
  import 'node:os';
25
- import '../shared/bee.BeQSH2t0.mjs';
26
26
 
27
27
  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
28
  { description: "List all users", command: "bee user list" },
@@ -3,25 +3,25 @@ import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
3
3
  import 'node:stream/consumers';
4
4
  import 'valibot';
5
5
  import '../shared/bee.BYqxm3yG.mjs';
6
- import { p as printTable } from '../shared/bee.IM3QELRf.mjs';
7
- import { g as getClient } from '../shared/bee.OJ0vqxJN.mjs';
6
+ import { p as printTable } from '../shared/bee.a05kNWpn.mjs';
7
+ import { g as getClient } from '../shared/bee.DessOtkV.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.BtxMsVL4.mjs';
13
- import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.bmiIlr9W.mjs';
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';
12
+ import '../shared/bee.x-FvgDW2.mjs';
13
+ import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
14
+ import { d as project, k as keyword, j as json, s as space, r as resolveOptions } from '../shared/bee.B3N0WBdU.mjs';
15
+ import '../shared/bee.DFnSWb6q.mjs';
16
16
  import '../shared/bee.CktwmH8R.mjs';
17
- import '../shared/bee.DxRKWv6n.mjs';
17
+ import '../shared/bee.DfqnFet4.mjs';
18
+ import '../shared/bee.BImw1HZl.mjs';
18
19
  import 'node:module';
19
20
  import 'commander';
20
21
  import 'consola/utils';
21
22
  import 'node:fs';
22
23
  import 'node:path';
23
24
  import 'node:os';
24
- import '../shared/bee.BeQSH2t0.mjs';
25
25
 
26
26
  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
27
  { description: "List all wiki pages in a project", command: "bee wiki list -p PROJECT" },