@nulab/bee 1.0.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/README.md +6 -3
  2. package/dist/chunks/activities.mjs +12 -29
  3. package/dist/chunks/activities2.mjs +12 -29
  4. package/dist/chunks/activities3.mjs +12 -29
  5. package/dist/chunks/add-user.mjs +9 -11
  6. package/dist/chunks/add.mjs +9 -11
  7. package/dist/chunks/add2.mjs +9 -11
  8. package/dist/chunks/api.mjs +51 -18
  9. package/dist/chunks/attachments.mjs +11 -13
  10. package/dist/chunks/attachments2.mjs +11 -13
  11. package/dist/chunks/attachments3.mjs +11 -13
  12. package/dist/chunks/browse.mjs +7 -9
  13. package/dist/chunks/clone.mjs +9 -11
  14. package/dist/chunks/close.mjs +9 -11
  15. package/dist/chunks/comment.mjs +8 -10
  16. package/dist/chunks/comment2.mjs +11 -13
  17. package/dist/chunks/comments.mjs +9 -11
  18. package/dist/chunks/completion.mjs +52 -57
  19. package/dist/chunks/count.mjs +11 -18
  20. package/dist/chunks/count2.mjs +9 -11
  21. package/dist/chunks/count3.mjs +10 -12
  22. package/dist/chunks/count4.mjs +9 -11
  23. package/dist/chunks/count5.mjs +9 -11
  24. package/dist/chunks/create.mjs +6 -8
  25. package/dist/chunks/create2.mjs +10 -12
  26. package/dist/chunks/create3.mjs +8 -10
  27. package/dist/chunks/create4.mjs +7 -9
  28. package/dist/chunks/create5.mjs +8 -10
  29. package/dist/chunks/create6.mjs +6 -8
  30. package/dist/chunks/create7.mjs +6 -8
  31. package/dist/chunks/create8.mjs +6 -8
  32. package/dist/chunks/create9.mjs +6 -8
  33. package/dist/chunks/dashboard.mjs +11 -13
  34. package/dist/chunks/delete.mjs +6 -8
  35. package/dist/chunks/delete2.mjs +6 -8
  36. package/dist/chunks/delete3.mjs +6 -8
  37. package/dist/chunks/delete4.mjs +6 -8
  38. package/dist/chunks/delete5.mjs +6 -8
  39. package/dist/chunks/delete6.mjs +6 -8
  40. package/dist/chunks/delete7.mjs +6 -8
  41. package/dist/chunks/delete8.mjs +6 -8
  42. package/dist/chunks/delete9.mjs +6 -8
  43. package/dist/chunks/edit.mjs +9 -11
  44. package/dist/chunks/edit2.mjs +10 -12
  45. package/dist/chunks/edit3.mjs +10 -12
  46. package/dist/chunks/edit4.mjs +9 -11
  47. package/dist/chunks/edit5.mjs +6 -8
  48. package/dist/chunks/edit6.mjs +9 -11
  49. package/dist/chunks/edit7.mjs +9 -11
  50. package/dist/chunks/edit8.mjs +9 -11
  51. package/dist/chunks/history.mjs +11 -13
  52. package/dist/chunks/index.mjs +1 -1
  53. package/dist/chunks/index10.mjs +1 -1
  54. package/dist/chunks/index11.mjs +1 -1
  55. package/dist/chunks/index12.mjs +1 -1
  56. package/dist/chunks/index13.mjs +1 -1
  57. package/dist/chunks/index14.mjs +1 -1
  58. package/dist/chunks/index15.mjs +1 -1
  59. package/dist/chunks/index16.mjs +1 -1
  60. package/dist/chunks/index17.mjs +1 -1
  61. package/dist/chunks/index2.mjs +1 -1
  62. package/dist/chunks/index3.mjs +1 -1
  63. package/dist/chunks/index4.mjs +1 -1
  64. package/dist/chunks/index5.mjs +1 -1
  65. package/dist/chunks/index6.mjs +1 -1
  66. package/dist/chunks/index7.mjs +1 -1
  67. package/dist/chunks/index8.mjs +1 -1
  68. package/dist/chunks/index9.mjs +1 -1
  69. package/dist/chunks/list.mjs +11 -13
  70. package/dist/chunks/list10.mjs +11 -13
  71. package/dist/chunks/list11.mjs +11 -13
  72. package/dist/chunks/list12.mjs +11 -13
  73. package/dist/chunks/list13.mjs +11 -13
  74. package/dist/chunks/list14.mjs +11 -13
  75. package/dist/chunks/list15.mjs +11 -13
  76. package/dist/chunks/list2.mjs +13 -20
  77. package/dist/chunks/list3.mjs +12 -14
  78. package/dist/chunks/list4.mjs +11 -13
  79. package/dist/chunks/list5.mjs +12 -14
  80. package/dist/chunks/list6.mjs +11 -13
  81. package/dist/chunks/list7.mjs +11 -13
  82. package/dist/chunks/list8.mjs +11 -13
  83. package/dist/chunks/list9.mjs +11 -13
  84. package/dist/chunks/login.mjs +18 -9
  85. package/dist/chunks/logout.mjs +9 -5
  86. package/dist/chunks/me.mjs +11 -13
  87. package/dist/chunks/read-all.mjs +9 -11
  88. package/dist/chunks/read.mjs +9 -11
  89. package/dist/chunks/read2.mjs +9 -11
  90. package/dist/chunks/refresh.mjs +5 -7
  91. package/dist/chunks/remove-user.mjs +9 -11
  92. package/dist/chunks/remove.mjs +9 -11
  93. package/dist/chunks/reopen.mjs +9 -11
  94. package/dist/chunks/status.mjs +9 -6
  95. package/dist/chunks/status2.mjs +9 -11
  96. package/dist/chunks/status3.mjs +9 -11
  97. package/dist/chunks/switch.mjs +8 -4
  98. package/dist/chunks/tags.mjs +9 -11
  99. package/dist/chunks/token.mjs +9 -5
  100. package/dist/chunks/tree.mjs +9 -11
  101. package/dist/chunks/users.mjs +11 -13
  102. package/dist/chunks/view.mjs +11 -13
  103. package/dist/chunks/view2.mjs +14 -15
  104. package/dist/chunks/view3.mjs +12 -14
  105. package/dist/chunks/view4.mjs +11 -13
  106. package/dist/chunks/view5.mjs +11 -13
  107. package/dist/chunks/view6.mjs +11 -13
  108. package/dist/chunks/view7.mjs +11 -13
  109. package/dist/chunks/view8.mjs +11 -13
  110. package/dist/chunks/view9.mjs +11 -13
  111. package/dist/index.mjs +37751 -37
  112. package/dist/shared/{bee.PF8hrVKn.mjs → bee.084B_7FC.mjs} +1 -1
  113. package/dist/shared/{bee.D6yQ6Pqf.mjs → bee.C4p7W8_P.mjs} +1 -1
  114. package/dist/shared/{bee.DxRKWv6n.mjs → bee.CAARNIp6.mjs} +1 -1
  115. package/dist/shared/{bee.Bt1TK6yh.mjs → bee.CHtg3F43.mjs} +46 -7
  116. package/dist/shared/{bee.CCNmDHVv.mjs → bee.CirccSk2.mjs} +19 -1
  117. package/dist/shared/{bee.Ds2l-nTJ.mjs → bee.DFnSWb6q.mjs} +101 -13
  118. package/dist/shared/{bee.bmiIlr9W.mjs → bee.KteAW2rM.mjs} +12 -2
  119. package/dist/shared/{bee.OJ0vqxJN.mjs → bee.RsR9yniy.mjs} +10 -4
  120. package/dist/shared/{bee.IM3QELRf.mjs → bee.a05kNWpn.mjs} +1 -1
  121. package/dist/shared/{bee.G4d7izLe.mjs → bee.q93n012-.mjs} +1 -1
  122. package/package.json +12 -10
  123. package/dist/shared/bee.BYqxm3yG.mjs +0 -24
  124. package/dist/shared/bee.BeQSH2t0.mjs +0 -25
  125. package/dist/shared/bee.BtxMsVL4.mjs +0 -35104
@@ -1,32 +1,30 @@
1
1
  import consola from 'consola';
2
- import { r as resolveProjectIds } from '../shared/bee.PF8hrVKn.mjs';
2
+ import { r as resolveProjectIds } from '../shared/bee.084B_7FC.mjs';
3
3
  import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
4
- import { j as json, s as space, a as promptRequired } from '../shared/bee.Bt1TK6yh.mjs';
4
+ import { p as projectOptional, j as json, s as space, a as promptRequired } from '../shared/bee.CHtg3F43.mjs';
5
5
  import { a as resolveStdinArg } from '../shared/bee.C--ZWPxf.mjs';
6
6
  import 'valibot';
7
- import '../shared/bee.BYqxm3yG.mjs';
8
- import { g as getClient } from '../shared/bee.OJ0vqxJN.mjs';
7
+ import '../index.mjs';
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 } from '../shared/bee.CzKcWSES.mjs';
12
12
  import 'node:child_process';
13
- import '../shared/bee.BtxMsVL4.mjs';
14
- import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.bmiIlr9W.mjs';
13
+ import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
15
14
  import 'node:stream/consumers';
16
15
  import 'node:fs';
17
16
  import 'node:path';
18
17
  import 'node:os';
19
- import '../shared/bee.BeQSH2t0.mjs';
20
18
  import 'commander';
21
- import '../shared/bee.CktwmH8R.mjs';
22
- import '../shared/bee.DxRKWv6n.mjs';
23
19
  import 'open';
24
20
  import 'node:module';
25
21
  import 'consola/utils';
22
+ import '../shared/bee.CktwmH8R.mjs';
23
+ import '../shared/bee.CAARNIp6.mjs';
26
24
 
27
25
  const create = new BeeCommand("create").summary("Create a document").description(
28
26
  `Omitted required fields will be prompted interactively. When input is piped, it is used as the body automatically.`
29
- ).option("-p, --project <id>", "Project ID or project key").option("-t, --title <text>", "Document title").option("-b, --body <text>", "Document body content").option("--emoji <emoji>", "Emoji for the document").option("--parent-id <id>", "Parent document ID for creating as a child document").option("--add-last", "Add document to the end of the list").addOption(json()).addOption(space()).envVars([...ENV_AUTH, ENV_PROJECT]).examples([
27
+ ).addOption(projectOptional()).option("-t, --title <text>", "Document title").option("-b, --body <text>", "Document body content").option("--emoji <emoji>", "Emoji for the document").option("--parent-id <id>", "Parent document ID for creating as a child document").option("--add-last", "Add document to the end of the list").addOption(json()).addOption(space()).envVars([...ENV_AUTH, ENV_PROJECT]).examples([
30
28
  {
31
29
  description: "Create a document with title and body",
32
30
  command: 'bee document create -p PROJECT -t "Meeting Notes" -b "Content here"'
@@ -1,27 +1,25 @@
1
1
  import consola from 'consola';
2
2
  import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
3
- import { p as project, B as repo, i as assignee, t as notify, x as attachment, j as json, s as space, r as resolveOptions, a as promptRequired } from '../shared/bee.Bt1TK6yh.mjs';
3
+ import { d as project, C as repo, m as assignee, x as notify, y as attachment, j as json, s as space, r as resolveOptions, a as promptRequired } from '../shared/bee.CHtg3F43.mjs';
4
4
  import 'node:stream/consumers';
5
5
  import * as v from 'valibot';
6
- import { v as vInteger } from '../shared/bee.BYqxm3yG.mjs';
7
- import { r as resolveUserId } from '../shared/bee.G4d7izLe.mjs';
8
- import { g as getClient } from '../shared/bee.OJ0vqxJN.mjs';
6
+ import { v as vInteger } from '../index.mjs';
7
+ import { r as resolveUserId } from '../shared/bee.q93n012-.mjs';
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 } from '../shared/bee.CzKcWSES.mjs';
12
12
  import 'node:child_process';
13
- import '../shared/bee.BtxMsVL4.mjs';
14
- import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT, b as ENV_REPO } from '../shared/bee.bmiIlr9W.mjs';
13
+ import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT, b as ENV_REPO } from '../shared/bee.KteAW2rM.mjs';
15
14
  import 'node:fs';
16
15
  import 'node:path';
17
16
  import 'node:os';
18
- import '../shared/bee.BeQSH2t0.mjs';
19
17
  import 'commander';
20
- import '../shared/bee.CktwmH8R.mjs';
21
- import '../shared/bee.DxRKWv6n.mjs';
22
18
  import 'open';
23
19
  import 'node:module';
24
20
  import 'consola/utils';
21
+ import '../shared/bee.CktwmH8R.mjs';
22
+ import '../shared/bee.CAARNIp6.mjs';
25
23
 
26
24
  const create = new BeeCommand("create").summary("Create a pull request").description(`Omitted required fields will be prompted interactively.`).addOption(project()).addOption(repo()).option("--base <branch>", "Base branch name").option("--head <branch>", "Head branch name").option("-t, --title <text>", "Pull request title").option("-b, --body <text>", "Pull request description").addOption(assignee()).option("--issue <key>", "Related issue ID or issue key").addOption(notify()).addOption(attachment()).addOption(json()).addOption(space()).envVars([...ENV_AUTH, ENV_PROJECT, ENV_REPO]).examples([
27
25
  {
@@ -1,30 +1,28 @@
1
1
  import consola from 'consola';
2
- import { r as resolveProjectIds } from '../shared/bee.PF8hrVKn.mjs';
2
+ import { r as resolveProjectIds } from '../shared/bee.084B_7FC.mjs';
3
3
  import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
4
- import { j as json, s as space, a as promptRequired } from '../shared/bee.Bt1TK6yh.mjs';
4
+ import { p as projectOptional, j as json, s as space, a as promptRequired } from '../shared/bee.CHtg3F43.mjs';
5
5
  import { a as resolveStdinArg } from '../shared/bee.C--ZWPxf.mjs';
6
6
  import 'valibot';
7
- import '../shared/bee.BYqxm3yG.mjs';
8
- import { g as getClient } from '../shared/bee.OJ0vqxJN.mjs';
7
+ import '../index.mjs';
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 } from '../shared/bee.CzKcWSES.mjs';
12
12
  import 'node:child_process';
13
- import '../shared/bee.BtxMsVL4.mjs';
14
- import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.bmiIlr9W.mjs';
13
+ import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
15
14
  import 'node:stream/consumers';
16
15
  import 'node:fs';
17
16
  import 'node:path';
18
17
  import 'node:os';
19
- import '../shared/bee.BeQSH2t0.mjs';
20
18
  import 'commander';
21
- import '../shared/bee.CktwmH8R.mjs';
22
- import '../shared/bee.DxRKWv6n.mjs';
23
19
  import 'open';
24
20
  import 'node:module';
25
21
  import 'consola/utils';
22
+ import '../shared/bee.CktwmH8R.mjs';
23
+ import '../shared/bee.CAARNIp6.mjs';
26
24
 
27
- const create = new BeeCommand("create").summary("Create a wiki page").description(`When input is piped, it is used as the body automatically.`).option("-p, --project <id>", "Project ID or project key").option("-n, --name <name>", "Wiki page name").option("-b, --body <text>", "Wiki page content").option("--mail-notify", "Send notification email").addOption(json()).addOption(space()).envVars([...ENV_AUTH, ENV_PROJECT]).examples([
25
+ const create = new BeeCommand("create").summary("Create a wiki page").description(`When input is piped, it is used as the body automatically.`).addOption(projectOptional()).option("-n, --name <name>", "Wiki page name").option("-b, --body <text>", "Wiki page content").option("--mail-notify", "Send notification email").addOption(json()).addOption(space()).envVars([...ENV_AUTH, ENV_PROJECT]).examples([
28
26
  {
29
27
  description: "Create a wiki page",
30
28
  command: 'bee wiki create -p PROJECT -n "Page Name" -b "Content"'
@@ -1,26 +1,24 @@
1
1
  import consola from 'consola';
2
2
  import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
3
- import { p as project, j as json, s as space, r as resolveOptions, a as promptRequired } from '../shared/bee.Bt1TK6yh.mjs';
3
+ import { d as project, j as json, s as space, r as resolveOptions, a as promptRequired } from '../shared/bee.CHtg3F43.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.OJ0vqxJN.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 { j as categoryUrl } from '../shared/bee.CzKcWSES.mjs';
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';
12
+ import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
14
13
  import 'node:fs';
15
14
  import 'node:path';
16
15
  import 'node:os';
17
- import '../shared/bee.BeQSH2t0.mjs';
18
16
  import 'commander';
19
- import '../shared/bee.CktwmH8R.mjs';
20
- import '../shared/bee.DxRKWv6n.mjs';
21
17
  import 'open';
22
18
  import 'node:module';
23
19
  import 'consola/utils';
20
+ import '../shared/bee.CktwmH8R.mjs';
21
+ import '../shared/bee.CAARNIp6.mjs';
24
22
 
25
23
  const create = new BeeCommand("create").summary("Create a category").description(`Omitted fields will be prompted interactively.`).addOption(project()).option("-n, --name <value>", "Category name").addOption(json()).addOption(space()).envVars([...ENV_AUTH, ENV_PROJECT]).examples([
26
24
  { description: "Create a category", command: 'bee category create -p PROJECT -n "Bug Report"' },
@@ -1,26 +1,24 @@
1
1
  import consola from 'consola';
2
2
  import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
3
- import { p as project, j as json, s as space, r as resolveOptions, a as promptRequired } from '../shared/bee.Bt1TK6yh.mjs';
3
+ import { d as project, j as json, s as space, r as resolveOptions, a as promptRequired } from '../shared/bee.CHtg3F43.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.OJ0vqxJN.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 { m as milestoneUrl } from '../shared/bee.CzKcWSES.mjs';
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';
12
+ import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
14
13
  import 'node:fs';
15
14
  import 'node:path';
16
15
  import 'node:os';
17
- import '../shared/bee.BeQSH2t0.mjs';
18
16
  import 'commander';
19
- import '../shared/bee.CktwmH8R.mjs';
20
- import '../shared/bee.DxRKWv6n.mjs';
21
17
  import 'open';
22
18
  import 'node:module';
23
19
  import 'consola/utils';
20
+ import '../shared/bee.CktwmH8R.mjs';
21
+ import '../shared/bee.CAARNIp6.mjs';
24
22
 
25
23
  const create = new BeeCommand("create").summary("Create a milestone").description(`Omitted fields will be prompted interactively.`).addOption(project()).option("-n, --name <value>", "Milestone name").option("-d, --description <value>", "Milestone description").option("--start-date <yyyy-MM-dd>", "Start date").option("--release-due-date <yyyy-MM-dd>", "Release due date").addOption(json()).addOption(space()).envVars([...ENV_AUTH, ENV_PROJECT]).examples([
26
24
  { description: "Create a milestone", command: 'bee milestone create -p PROJECT -n "v1.0.0"' },
@@ -1,26 +1,24 @@
1
1
  import consola from 'consola';
2
2
  import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
3
- import { p as project, j as json, s as space, r as resolveOptions, a as promptRequired } from '../shared/bee.Bt1TK6yh.mjs';
3
+ import { d as project, j as json, s as space, r as resolveOptions, a as promptRequired } from '../shared/bee.CHtg3F43.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.OJ0vqxJN.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 { k as issueTypeUrl } from '../shared/bee.CzKcWSES.mjs';
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';
12
+ import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
14
13
  import 'node:fs';
15
14
  import 'node:path';
16
15
  import 'node:os';
17
- import '../shared/bee.BeQSH2t0.mjs';
18
16
  import 'commander';
19
- import '../shared/bee.CktwmH8R.mjs';
20
- import '../shared/bee.DxRKWv6n.mjs';
21
17
  import 'open';
22
18
  import 'node:module';
23
19
  import 'consola/utils';
20
+ import '../shared/bee.CktwmH8R.mjs';
21
+ import '../shared/bee.CAARNIp6.mjs';
24
22
 
25
23
  const create = new BeeCommand("create").summary("Create an issue type").description(`Omitted fields will be prompted interactively.`).addOption(project()).option("-n, --name <value>", "Issue type name").requiredOption(
26
24
  "--color <value>",
@@ -1,26 +1,24 @@
1
1
  import consola from 'consola';
2
2
  import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
3
- import { p as project, j as json, s as space, r as resolveOptions, a as promptRequired } from '../shared/bee.Bt1TK6yh.mjs';
3
+ import { d as project, j as json, s as space, r as resolveOptions, a as promptRequired } from '../shared/bee.CHtg3F43.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.OJ0vqxJN.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 { s as statusUrl } from '../shared/bee.CzKcWSES.mjs';
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';
12
+ import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
14
13
  import 'node:fs';
15
14
  import 'node:path';
16
15
  import 'node:os';
17
- import '../shared/bee.BeQSH2t0.mjs';
18
16
  import 'commander';
19
- import '../shared/bee.CktwmH8R.mjs';
20
- import '../shared/bee.DxRKWv6n.mjs';
21
17
  import 'open';
22
18
  import 'node:module';
23
19
  import 'consola/utils';
20
+ import '../shared/bee.CktwmH8R.mjs';
21
+ import '../shared/bee.CAARNIp6.mjs';
24
22
 
25
23
  const create = new BeeCommand("create").summary("Create a status").description(`Omitted fields will be prompted interactively.`).addOption(project()).option("-n, --name <value>", "Status name").requiredOption(
26
24
  "--color <value>",
@@ -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 '../shared/bee.BYqxm3yG.mjs';
5
+ import '../index.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.RsR9yniy.mjs';
9
9
  import 'backlog-js';
10
10
  import 'node:http';
11
11
  import { o as openOrPrintUrl, d as dashboardUrl } from '../shared/bee.CzKcWSES.mjs';
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, w as web, n as noBrowser, s as space } from '../shared/bee.Bt1TK6yh.mjs';
16
- import '../shared/bee.Ds2l-nTJ.mjs';
17
- import '../shared/bee.CktwmH8R.mjs';
18
- import '../shared/bee.DxRKWv6n.mjs';
13
+ import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.KteAW2rM.mjs';
14
+ import { j as json, w as web, n as noBrowser, s as space } from '../shared/bee.CHtg3F43.mjs';
15
+ import 'node:fs';
16
+ import 'node:path';
17
+ import 'node:os';
19
18
  import 'open';
20
19
  import 'node:module';
21
20
  import 'commander';
22
21
  import 'consola/utils';
23
- import 'node:fs';
24
- import 'node:path';
25
- import 'node:os';
26
- import '../shared/bee.BeQSH2t0.mjs';
22
+ import '../shared/bee.DFnSWb6q.mjs';
23
+ import '../shared/bee.CktwmH8R.mjs';
24
+ import '../shared/bee.CAARNIp6.mjs';
27
25
 
28
26
  const dashboard = new BeeCommand("dashboard").summary("Show a summary of your Backlog activity").description(
29
27
  `Displays assigned issues, unread notifications, and projects. Use \`--web\` to open in the browser.`
@@ -1,25 +1,23 @@
1
1
  import consola from 'consola';
2
2
  import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
3
- import { p as project, j as json, s as space, r as resolveOptions, d as confirmOrExit } from '../shared/bee.Bt1TK6yh.mjs';
3
+ import { d as project, j as json, s as space, r as resolveOptions, e as confirmOrExit } from '../shared/bee.CHtg3F43.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.OJ0vqxJN.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
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';
12
+ import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
14
13
  import 'node:fs';
15
14
  import 'node:path';
16
15
  import 'node:os';
17
- import '../shared/bee.BeQSH2t0.mjs';
18
16
  import 'commander';
19
- import '../shared/bee.CktwmH8R.mjs';
20
- import '../shared/bee.DxRKWv6n.mjs';
21
17
  import 'node:module';
22
18
  import 'consola/utils';
19
+ import '../shared/bee.CktwmH8R.mjs';
20
+ import '../shared/bee.CAARNIp6.mjs';
23
21
 
24
22
  const deleteProject = new BeeCommand("delete").summary("Delete a project").description(`This action is irreversible. Requires Administrator role.`).addOption(project()).addOption(json()).addOption(space()).envVars([...ENV_AUTH, ENV_PROJECT]).examples([
25
23
  {
@@ -1,25 +1,23 @@
1
1
  import consola from 'consola';
2
2
  import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
3
- import { j as json, s as space, d as confirmOrExit } from '../shared/bee.Bt1TK6yh.mjs';
3
+ import { j as json, s as space, e as confirmOrExit } from '../shared/bee.CHtg3F43.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.OJ0vqxJN.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
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';
12
+ import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.KteAW2rM.mjs';
14
13
  import 'node:fs';
15
14
  import 'node:path';
16
15
  import 'node:os';
17
- import '../shared/bee.BeQSH2t0.mjs';
18
16
  import 'commander';
19
- import '../shared/bee.CktwmH8R.mjs';
20
- import '../shared/bee.DxRKWv6n.mjs';
21
17
  import 'node:module';
22
18
  import 'consola/utils';
19
+ import '../shared/bee.CktwmH8R.mjs';
20
+ import '../shared/bee.CAARNIp6.mjs';
23
21
 
24
22
  const deleteIssue = new BeeCommand("delete").summary("Delete an issue").description(`This action is irreversible.`).argument("<issue>", "Issue ID or issue key").addOption(json()).addOption(space()).envVars([...ENV_AUTH]).examples([
25
23
  {
@@ -1,25 +1,23 @@
1
1
  import consola from 'consola';
2
2
  import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
3
- import { j as json, s as space, d as confirmOrExit } from '../shared/bee.Bt1TK6yh.mjs';
3
+ import { j as json, s as space, e as confirmOrExit } from '../shared/bee.CHtg3F43.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.OJ0vqxJN.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
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';
12
+ import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.KteAW2rM.mjs';
14
13
  import 'node:fs';
15
14
  import 'node:path';
16
15
  import 'node:os';
17
- import '../shared/bee.BeQSH2t0.mjs';
18
16
  import 'commander';
19
- import '../shared/bee.CktwmH8R.mjs';
20
- import '../shared/bee.DxRKWv6n.mjs';
21
17
  import 'node:module';
22
18
  import 'consola/utils';
19
+ import '../shared/bee.CktwmH8R.mjs';
20
+ import '../shared/bee.CAARNIp6.mjs';
23
21
 
24
22
  const deleteDocument = new BeeCommand("delete").summary("Delete a document").description(`This action is irreversible.`).argument("<document>", "Document ID").addOption(json()).addOption(space()).envVars([...ENV_AUTH]).examples([
25
23
  {
@@ -1,25 +1,23 @@
1
1
  import consola from 'consola';
2
2
  import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
3
- import { j as json, s as space, d as confirmOrExit } from '../shared/bee.Bt1TK6yh.mjs';
3
+ import { j as json, s as space, e as confirmOrExit } from '../shared/bee.CHtg3F43.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.OJ0vqxJN.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.BtxMsVL4.mjs';
13
- import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.bmiIlr9W.mjs';
12
+ import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.KteAW2rM.mjs';
14
13
  import 'node:fs';
15
14
  import 'node:path';
16
15
  import 'node:os';
17
- import '../shared/bee.BeQSH2t0.mjs';
18
16
  import 'commander';
19
- import '../shared/bee.CktwmH8R.mjs';
20
- import '../shared/bee.DxRKWv6n.mjs';
21
17
  import 'node:module';
22
18
  import 'consola/utils';
19
+ import '../shared/bee.CktwmH8R.mjs';
20
+ import '../shared/bee.CAARNIp6.mjs';
23
21
 
24
22
  const deleteWiki = new BeeCommand("delete").summary("Delete a wiki page").description(`This action is irreversible.`).argument("<wiki>", "Wiki page ID").option("--mail-notify", "Send notification email").addOption(json()).addOption(space()).envVars([...ENV_AUTH]).examples([
25
23
  {
@@ -1,25 +1,23 @@
1
1
  import consola from 'consola';
2
2
  import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
3
- import { p as project, j as json, s as space, r as resolveOptions, d as confirmOrExit } from '../shared/bee.Bt1TK6yh.mjs';
3
+ import { d as project, j as json, s as space, r as resolveOptions, e as confirmOrExit } from '../shared/bee.CHtg3F43.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.OJ0vqxJN.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.BtxMsVL4.mjs';
13
- import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.bmiIlr9W.mjs';
12
+ import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
14
13
  import 'node:fs';
15
14
  import 'node:path';
16
15
  import 'node:os';
17
- import '../shared/bee.BeQSH2t0.mjs';
18
16
  import 'commander';
19
- import '../shared/bee.CktwmH8R.mjs';
20
- import '../shared/bee.DxRKWv6n.mjs';
21
17
  import 'node:module';
22
18
  import 'consola/utils';
19
+ import '../shared/bee.CktwmH8R.mjs';
20
+ import '../shared/bee.CAARNIp6.mjs';
23
21
 
24
22
  const deleteCategory = new BeeCommand("delete").summary("Delete a category").description(`This action is irreversible.`).argument("<category>", "Category ID").addOption(project()).addOption(json()).addOption(space()).envVars([...ENV_AUTH, ENV_PROJECT]).examples([
25
23
  {
@@ -1,25 +1,23 @@
1
1
  import consola from 'consola';
2
2
  import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
3
- import { p as project, j as json, s as space, r as resolveOptions, d as confirmOrExit } from '../shared/bee.Bt1TK6yh.mjs';
3
+ import { d as project, j as json, s as space, r as resolveOptions, e as confirmOrExit } from '../shared/bee.CHtg3F43.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.OJ0vqxJN.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.BtxMsVL4.mjs';
13
- import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.bmiIlr9W.mjs';
12
+ import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
14
13
  import 'node:fs';
15
14
  import 'node:path';
16
15
  import 'node:os';
17
- import '../shared/bee.BeQSH2t0.mjs';
18
16
  import 'commander';
19
- import '../shared/bee.CktwmH8R.mjs';
20
- import '../shared/bee.DxRKWv6n.mjs';
21
17
  import 'node:module';
22
18
  import 'consola/utils';
19
+ import '../shared/bee.CktwmH8R.mjs';
20
+ import '../shared/bee.CAARNIp6.mjs';
23
21
 
24
22
  const deleteMilestone = new BeeCommand("delete").summary("Delete a milestone").description(`This action is irreversible.`).argument("<milestone>", "Milestone ID").addOption(project()).addOption(json()).addOption(space()).envVars([...ENV_AUTH, ENV_PROJECT]).examples([
25
23
  {
@@ -1,25 +1,23 @@
1
1
  import consola from 'consola';
2
2
  import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
3
- import { p as project, j as json, s as space, r as resolveOptions, d as confirmOrExit } from '../shared/bee.Bt1TK6yh.mjs';
3
+ import { d as project, j as json, s as space, r as resolveOptions, e as confirmOrExit } from '../shared/bee.CHtg3F43.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.OJ0vqxJN.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.BtxMsVL4.mjs';
13
- import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.bmiIlr9W.mjs';
12
+ import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
14
13
  import 'node:fs';
15
14
  import 'node:path';
16
15
  import 'node:os';
17
- import '../shared/bee.BeQSH2t0.mjs';
18
16
  import 'commander';
19
- import '../shared/bee.CktwmH8R.mjs';
20
- import '../shared/bee.DxRKWv6n.mjs';
21
17
  import 'node:module';
22
18
  import 'consola/utils';
19
+ import '../shared/bee.CktwmH8R.mjs';
20
+ import '../shared/bee.CAARNIp6.mjs';
23
21
 
24
22
  const deleteIssueType = new BeeCommand("delete").summary("Delete an issue type").description(
25
23
  `All issues of this type are reassigned to the substitute issue type. This action is irreversible.`
@@ -1,25 +1,23 @@
1
1
  import consola from 'consola';
2
2
  import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
3
- import { p as project, j as json, s as space, r as resolveOptions, d as confirmOrExit } from '../shared/bee.Bt1TK6yh.mjs';
3
+ import { d as project, j as json, s as space, r as resolveOptions, e as confirmOrExit } from '../shared/bee.CHtg3F43.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.OJ0vqxJN.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.BtxMsVL4.mjs';
13
- import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.bmiIlr9W.mjs';
12
+ import { B as BeeCommand, E as ENV_AUTH, a as ENV_PROJECT } from '../shared/bee.KteAW2rM.mjs';
14
13
  import 'node:fs';
15
14
  import 'node:path';
16
15
  import 'node:os';
17
- import '../shared/bee.BeQSH2t0.mjs';
18
16
  import 'commander';
19
- import '../shared/bee.CktwmH8R.mjs';
20
- import '../shared/bee.DxRKWv6n.mjs';
21
17
  import 'node:module';
22
18
  import 'consola/utils';
19
+ import '../shared/bee.CktwmH8R.mjs';
20
+ import '../shared/bee.CAARNIp6.mjs';
23
21
 
24
22
  const deleteStatus = new BeeCommand("delete").summary("Delete a status").description(
25
23
  `All issues with this status are reassigned to the substitute status. This action is irreversible.`
@@ -1,25 +1,23 @@
1
1
  import consola from 'consola';
2
2
  import { o as outputResult } from '../shared/bee.BTBGpv4K.mjs';
3
- import { j as json, s as space, d as confirmOrExit } from '../shared/bee.Bt1TK6yh.mjs';
3
+ import { j as json, s as space, e as confirmOrExit } from '../shared/bee.CHtg3F43.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.OJ0vqxJN.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.BtxMsVL4.mjs';
13
- import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.bmiIlr9W.mjs';
12
+ import { B as BeeCommand, E as ENV_AUTH } from '../shared/bee.KteAW2rM.mjs';
14
13
  import 'node:fs';
15
14
  import 'node:path';
16
15
  import 'node:os';
17
- import '../shared/bee.BeQSH2t0.mjs';
18
16
  import 'commander';
19
- import '../shared/bee.CktwmH8R.mjs';
20
- import '../shared/bee.DxRKWv6n.mjs';
21
17
  import 'node:module';
22
18
  import 'consola/utils';
19
+ import '../shared/bee.CktwmH8R.mjs';
20
+ import '../shared/bee.CAARNIp6.mjs';
23
21
 
24
22
  const deleteWatching = new BeeCommand("delete").summary("Delete a watching item").description(
25
23
  `Removes the issue from your watching list. You will no longer receive update notifications.`