@outfitter/cli 0.1.0-rc.2 → 0.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 (250) hide show
  1. package/README.md +21 -32
  2. package/dist/actions.d.ts +12 -1
  3. package/dist/actions.js +170 -3
  4. package/dist/borders/index.d.ts +3 -0
  5. package/dist/borders/index.js +13 -0
  6. package/dist/box/index.d.ts +4 -0
  7. package/dist/box/index.js +13 -0
  8. package/dist/cli.js +1 -1
  9. package/dist/colors/index.d.ts +3 -0
  10. package/dist/colors/index.js +18 -0
  11. package/dist/command.d.ts +40 -3
  12. package/dist/command.js +45 -3
  13. package/dist/demo/index.d.ts +78 -0
  14. package/dist/demo/index.js +148 -0
  15. package/dist/demo/registry.d.ts +7 -0
  16. package/dist/demo/registry.js +28 -0
  17. package/dist/demo/renderers/borders.d.ts +7 -0
  18. package/dist/demo/renderers/borders.js +17 -0
  19. package/dist/demo/renderers/box.d.ts +7 -0
  20. package/dist/demo/renderers/box.js +18 -0
  21. package/dist/demo/renderers/colors.d.ts +7 -0
  22. package/dist/demo/renderers/colors.js +18 -0
  23. package/dist/demo/renderers/indicators.d.ts +7 -0
  24. package/dist/demo/renderers/indicators.js +17 -0
  25. package/dist/demo/renderers/list.d.ts +7 -0
  26. package/dist/demo/renderers/list.js +19 -0
  27. package/dist/demo/renderers/markdown.d.ts +7 -0
  28. package/dist/demo/renderers/markdown.js +18 -0
  29. package/dist/demo/renderers/progress.d.ts +7 -0
  30. package/dist/demo/renderers/progress.js +17 -0
  31. package/dist/demo/renderers/spinner.d.ts +7 -0
  32. package/dist/demo/renderers/spinner.js +19 -0
  33. package/dist/demo/renderers/table.d.ts +7 -0
  34. package/dist/demo/renderers/table.js +19 -0
  35. package/dist/demo/renderers/text.d.ts +7 -0
  36. package/dist/demo/renderers/text.js +16 -0
  37. package/dist/demo/renderers/tree.d.ts +7 -0
  38. package/dist/demo/renderers/tree.js +18 -0
  39. package/dist/demo/section.d.ts +5 -0
  40. package/dist/demo/section.js +23 -0
  41. package/dist/demo/templates.d.ts +4 -0
  42. package/dist/demo/templates.js +10 -0
  43. package/dist/demo/types.d.ts +3 -0
  44. package/dist/demo/types.js +8 -0
  45. package/dist/index.d.ts +5 -8
  46. package/dist/index.js +9 -43
  47. package/dist/input.d.ts +163 -2
  48. package/dist/input.js +425 -11
  49. package/dist/list/index.d.ts +3 -0
  50. package/dist/list/index.js +9 -0
  51. package/dist/output.js +1 -1
  52. package/dist/pagination.d.ts +62 -2
  53. package/dist/pagination.js +84 -6
  54. package/dist/preset/full.d.ts +14 -0
  55. package/dist/preset/full.js +41 -0
  56. package/dist/preset/standard.d.ts +11 -0
  57. package/dist/preset/standard.js +30 -0
  58. package/dist/prompt/confirm.d.ts +4 -0
  59. package/dist/prompt/confirm.js +9 -0
  60. package/dist/prompt/group.d.ts +4 -0
  61. package/dist/prompt/group.js +9 -0
  62. package/dist/prompt/index.d.ts +7 -0
  63. package/dist/prompt/index.js +32 -0
  64. package/dist/prompt/select.d.ts +4 -0
  65. package/dist/prompt/select.js +11 -0
  66. package/dist/prompt/text.d.ts +4 -0
  67. package/dist/prompt/text.js +11 -0
  68. package/dist/prompt/types.d.ts +3 -0
  69. package/dist/prompt/types.js +8 -0
  70. package/dist/prompt/validators.d.ts +2 -0
  71. package/dist/prompt/validators.js +8 -0
  72. package/dist/render/borders.d.ts +2 -0
  73. package/dist/render/borders.js +15 -0
  74. package/dist/render/box.d.ts +3 -0
  75. package/dist/render/box.js +23 -0
  76. package/dist/render/colors.d.ts +1 -1
  77. package/dist/render/colors.js +6 -3
  78. package/dist/render/date.js +1 -1
  79. package/dist/render/format-relative.js +1 -1
  80. package/dist/render/format.js +1 -1
  81. package/dist/render/heading.d.ts +3 -0
  82. package/dist/render/heading.js +14 -0
  83. package/dist/render/index.d.ts +26 -7
  84. package/dist/render/index.js +160 -26
  85. package/dist/render/indicators.d.ts +2 -0
  86. package/dist/render/indicators.js +14 -0
  87. package/dist/render/json.js +1 -1
  88. package/dist/render/layout.d.ts +5 -0
  89. package/dist/render/layout.js +25 -0
  90. package/dist/render/list.d.ts +2 -2
  91. package/dist/render/list.js +2 -2
  92. package/dist/render/markdown.js +4 -4
  93. package/dist/render/progress.js +1 -1
  94. package/dist/render/separator.d.ts +3 -0
  95. package/dist/render/separator.js +14 -0
  96. package/dist/render/shapes.js +10 -9
  97. package/dist/render/spinner.d.ts +2 -0
  98. package/dist/render/spinner.js +12 -0
  99. package/dist/render/stack.d.ts +3 -0
  100. package/dist/render/stack.js +38 -0
  101. package/dist/render/table.d.ts +2 -1
  102. package/dist/render/table.js +6 -5
  103. package/dist/render/text.d.ts +1 -1
  104. package/dist/render/text.js +7 -4
  105. package/dist/render/tree.d.ts +2 -2
  106. package/dist/render/tree.js +5 -3
  107. package/dist/render/types.d.ts +2 -0
  108. package/dist/render/types.js +1 -0
  109. package/dist/shared/@outfitter/cli-0ggcy7fa.js +20 -0
  110. package/dist/shared/@outfitter/cli-0psys2vm.js +7 -0
  111. package/dist/shared/@outfitter/cli-1bghjef6.js +352 -0
  112. package/dist/shared/@outfitter/cli-1kwbnt86.d.ts +45 -0
  113. package/dist/shared/@outfitter/cli-2g8bx1aq.d.ts +50 -0
  114. package/dist/shared/@outfitter/cli-34fqr7bp.js +37 -0
  115. package/dist/shared/@outfitter/cli-3b7ed3rm.d.ts +97 -0
  116. package/dist/shared/@outfitter/cli-3dxmmy4c.d.ts +20 -0
  117. package/dist/shared/@outfitter/cli-3f12z5kf.d.ts +83 -0
  118. package/dist/shared/@outfitter/cli-3t2zaenc.d.ts +59 -0
  119. package/dist/shared/@outfitter/{cli-dds0qqvm.d.ts → cli-4cb5g831.d.ts} +2 -0
  120. package/dist/shared/@outfitter/cli-4w2a1rfy.d.ts +23 -0
  121. package/dist/shared/@outfitter/cli-4x6pqnez.js +20 -0
  122. package/dist/shared/@outfitter/cli-671sxkhj.js +146 -0
  123. package/dist/shared/@outfitter/cli-6bztk73z.d.ts +51 -0
  124. package/dist/shared/@outfitter/cli-6fxffp8k.js +1 -0
  125. package/dist/shared/@outfitter/cli-6j9qynm8.js +118 -0
  126. package/dist/shared/@outfitter/cli-6m988kh0.d.ts +61 -0
  127. package/dist/shared/@outfitter/cli-74ba31gz.js +134 -0
  128. package/dist/shared/@outfitter/cli-7gnrb8cr.js +214 -0
  129. package/dist/shared/@outfitter/cli-7nm6edvh.d.ts +17 -0
  130. package/dist/shared/@outfitter/cli-85fg2vr5.js +123 -0
  131. package/dist/shared/@outfitter/cli-8a8xrzhy.js +20 -0
  132. package/dist/shared/@outfitter/cli-8bwaw3pz.js +7 -0
  133. package/dist/shared/@outfitter/cli-8rx4g3s5.d.ts +41 -0
  134. package/dist/shared/@outfitter/cli-8xsmsbbd.d.ts +223 -0
  135. package/dist/shared/@outfitter/cli-96b2p4td.d.ts +56 -0
  136. package/dist/shared/@outfitter/cli-9khk3cbq.d.ts +190 -0
  137. package/dist/shared/@outfitter/cli-9mtjjykw.js +67 -0
  138. package/dist/shared/@outfitter/{cli-ag0w4pk0.js → cli-9nbyj2bt.js} +60 -21
  139. package/dist/shared/@outfitter/{cli-azzk8a1d.js → cli-afhjqmg3.js} +7 -3
  140. package/dist/shared/@outfitter/cli-an9j0h80.js +117 -0
  141. package/dist/shared/@outfitter/cli-ay411nbr.js +122 -0
  142. package/dist/shared/@outfitter/cli-b0tzqgnf.d.ts +132 -0
  143. package/dist/shared/@outfitter/cli-b5c2k0d7.js +39 -0
  144. package/dist/shared/@outfitter/cli-b5epywry.js +1 -0
  145. package/dist/shared/@outfitter/cli-bcmcaz1b.js +23 -0
  146. package/dist/shared/@outfitter/cli-bf3vma4q.js +61 -0
  147. package/dist/shared/@outfitter/cli-cf1xexgn.d.ts +53 -0
  148. package/dist/shared/@outfitter/cli-cs45xd6q.js +59 -0
  149. package/dist/shared/@outfitter/cli-d7jpshq5.d.ts +128 -0
  150. package/dist/shared/@outfitter/{cli-jbj78ac5.js → cli-d9ad0rqj.js} +6 -1
  151. package/dist/shared/@outfitter/cli-daw296mv.js +61 -0
  152. package/dist/shared/@outfitter/cli-e5ms1y0x.d.ts +91 -0
  153. package/dist/shared/@outfitter/cli-e73v3qqy.d.ts +93 -0
  154. package/dist/shared/@outfitter/cli-en6zn6sj.js +1 -0
  155. package/dist/shared/@outfitter/cli-ep2cvtk8.js +48 -0
  156. package/dist/shared/@outfitter/cli-f75h8e94.js +7 -0
  157. package/dist/shared/@outfitter/cli-fakncnjp.d.ts +106 -0
  158. package/dist/shared/@outfitter/cli-feb5j90n.js +94 -0
  159. package/dist/shared/@outfitter/cli-h20jc0bs.d.ts +66 -0
  160. package/dist/shared/@outfitter/cli-hnpbqmc8.d.ts +328 -0
  161. package/dist/shared/@outfitter/cli-j4n8gaf3.js +95 -0
  162. package/dist/shared/@outfitter/cli-jejfypgf.js +85 -0
  163. package/dist/shared/@outfitter/{cli-wqc652mx.js → cli-jhcdwvpn.js} +8 -8
  164. package/dist/shared/@outfitter/{cli-v9mjsvjh.js → cli-jjemfdta.js} +13 -46
  165. package/dist/shared/@outfitter/cli-kc84wmch.js +267 -0
  166. package/dist/shared/@outfitter/cli-ktqme80d.js +7 -0
  167. package/dist/shared/@outfitter/cli-mq0jp15z.js +1 -0
  168. package/dist/shared/@outfitter/cli-mymyavvj.d.ts +26 -0
  169. package/dist/shared/@outfitter/cli-n17gt1dz.js +19 -0
  170. package/dist/shared/@outfitter/cli-n9dbh0hp.js +51 -0
  171. package/dist/shared/@outfitter/cli-nvvc92c8.js +128 -0
  172. package/dist/shared/@outfitter/cli-p1m5dhrs.js +169 -0
  173. package/dist/shared/@outfitter/cli-p38sfxyk.js +25 -0
  174. package/dist/shared/@outfitter/cli-p3dqm1vd.js +22 -0
  175. package/dist/shared/@outfitter/cli-p9j1phge.js +20 -0
  176. package/dist/shared/@outfitter/cli-pkxmzavm.js +62 -0
  177. package/dist/shared/@outfitter/cli-q8r6jarq.d.ts +24 -0
  178. package/dist/shared/@outfitter/{cli-2y3kxew8.d.ts → cli-qj83y5wj.d.ts} +22 -9
  179. package/dist/shared/@outfitter/cli-qjfc3j11.d.ts +112 -0
  180. package/dist/shared/@outfitter/cli-qp4cbhqr.js +70 -0
  181. package/dist/shared/@outfitter/cli-s0kkx9m1.d.ts +164 -0
  182. package/dist/shared/@outfitter/cli-snxj55n6.js +43 -0
  183. package/dist/shared/@outfitter/cli-swwxvjvm.d.ts +24 -0
  184. package/dist/shared/@outfitter/cli-sx67mmfx.d.ts +98 -0
  185. package/dist/shared/@outfitter/cli-tarpsa8a.js +30 -0
  186. package/dist/shared/@outfitter/cli-thvzhjd1.js +126 -0
  187. package/dist/shared/@outfitter/cli-tqewy503.d.ts +36 -0
  188. package/dist/shared/@outfitter/cli-tvw1xrdj.js +20 -0
  189. package/dist/shared/@outfitter/cli-v1tzwxkt.js +32 -0
  190. package/dist/shared/@outfitter/cli-vd60dj65.js +1 -0
  191. package/dist/shared/@outfitter/cli-vp88gxev.js +279 -0
  192. package/dist/shared/@outfitter/cli-vstbkzky.d.ts +74 -0
  193. package/dist/shared/@outfitter/cli-vtg0sqk2.d.ts +54 -0
  194. package/dist/shared/@outfitter/cli-w5y3xepp.js +20 -0
  195. package/dist/shared/@outfitter/cli-x4cavvc0.js +1 -0
  196. package/dist/shared/@outfitter/cli-xep6v2c0.js +52 -0
  197. package/dist/shared/@outfitter/cli-xg5y5fhk.js +86 -0
  198. package/dist/shared/@outfitter/{cli-n51t773m.d.ts → cli-xsaheemc.d.ts} +44 -4
  199. package/dist/shared/@outfitter/cli-xvqtqjxk.js +82 -0
  200. package/dist/shared/@outfitter/cli-y25tt8nc.d.ts +48 -0
  201. package/dist/streaming/ansi.d.ts +2 -0
  202. package/dist/streaming/ansi.js +8 -0
  203. package/dist/streaming/index.d.ts +4 -0
  204. package/dist/streaming/index.js +17 -0
  205. package/dist/streaming/spinner.d.ts +3 -0
  206. package/dist/streaming/spinner.js +10 -0
  207. package/dist/streaming/writer.d.ts +2 -0
  208. package/dist/streaming/writer.js +9 -0
  209. package/dist/table/index.d.ts +4 -0
  210. package/dist/table/index.js +13 -0
  211. package/dist/terminal/detection.js +5 -2
  212. package/dist/terminal/index.js +6 -2
  213. package/dist/theme/context.d.ts +9 -0
  214. package/dist/theme/context.js +14 -0
  215. package/dist/theme/create.d.ts +8 -0
  216. package/dist/theme/create.js +12 -0
  217. package/dist/theme/index.d.ts +17 -0
  218. package/dist/theme/index.js +42 -0
  219. package/dist/theme/presets/bold.d.ts +8 -0
  220. package/dist/theme/presets/bold.js +12 -0
  221. package/dist/theme/presets/default.d.ts +8 -0
  222. package/dist/theme/presets/default.js +11 -0
  223. package/dist/theme/presets/index.d.ts +12 -0
  224. package/dist/theme/presets/index.js +24 -0
  225. package/dist/theme/presets/minimal.d.ts +8 -0
  226. package/dist/theme/presets/minimal.js +12 -0
  227. package/dist/theme/presets/rounded.d.ts +8 -0
  228. package/dist/theme/presets/rounded.js +12 -0
  229. package/dist/theme/resolve.d.ts +8 -0
  230. package/dist/theme/resolve.js +11 -0
  231. package/dist/theme/types.d.ts +7 -0
  232. package/dist/theme/types.js +1 -0
  233. package/dist/tree/index.d.ts +3 -0
  234. package/dist/tree/index.js +11 -0
  235. package/dist/types.js +1 -1
  236. package/package.json +168 -54
  237. package/dist/shared/@outfitter/cli-2vs2gxa8.js +0 -429
  238. package/dist/shared/@outfitter/cli-2yq94zst.d.ts +0 -39
  239. package/dist/shared/@outfitter/cli-6xc869x1.js +0 -26
  240. package/dist/shared/@outfitter/cli-7km1e58p.js +0 -85
  241. package/dist/shared/@outfitter/cli-8r0bnyyx.js +0 -43
  242. package/dist/shared/@outfitter/cli-afecwfrn.d.ts +0 -13
  243. package/dist/shared/@outfitter/cli-bt423m6y.js +0 -4
  244. package/dist/shared/@outfitter/cli-d4fegbad.d.ts +0 -66
  245. package/dist/shared/@outfitter/cli-e0ecw3x1.js +0 -64
  246. package/dist/shared/@outfitter/cli-fheaaa6b.js +0 -25
  247. package/dist/shared/@outfitter/cli-j361wp3g.d.ts +0 -41
  248. package/dist/shared/@outfitter/cli-p0m2fc51.js +0 -172
  249. package/dist/shared/@outfitter/cli-tyajr8qa.d.ts +0 -63
  250. package/dist/shared/@outfitter/cli-zs6jy1am.d.ts +0 -164
@@ -0,0 +1,8 @@
1
+ import { boldTheme } from "../../shared/@outfitter/cli-q8r6jarq";
2
+ import "../../shared/@outfitter/cli-s0kkx9m1";
3
+ import "../../shared/@outfitter/cli-sx67mmfx";
4
+ import "../../shared/@outfitter/cli-hnpbqmc8";
5
+ import "../../shared/@outfitter/cli-3b7ed3rm";
6
+ import "../../shared/@outfitter/cli-e5ms1y0x";
7
+ import "../../shared/@outfitter/cli-fakncnjp";
8
+ export { boldTheme };
@@ -0,0 +1,12 @@
1
+ // @bun
2
+ import {
3
+ boldTheme
4
+ } from "../../shared/@outfitter/cli-8a8xrzhy.js";
5
+ import"../../shared/@outfitter/cli-cs45xd6q.js";
6
+ import"../../shared/@outfitter/cli-85fg2vr5.js";
7
+ import"../../shared/@outfitter/cli-9nbyj2bt.js";
8
+ import"../../shared/@outfitter/cli-d9ad0rqj.js";
9
+ import"../../shared/@outfitter/cli-v1tzwxkt.js";
10
+ export {
11
+ boldTheme
12
+ };
@@ -0,0 +1,8 @@
1
+ import { defaultTheme } from "../../shared/@outfitter/cli-3dxmmy4c";
2
+ import "../../shared/@outfitter/cli-s0kkx9m1";
3
+ import "../../shared/@outfitter/cli-sx67mmfx";
4
+ import "../../shared/@outfitter/cli-hnpbqmc8";
5
+ import "../../shared/@outfitter/cli-3b7ed3rm";
6
+ import "../../shared/@outfitter/cli-e5ms1y0x";
7
+ import "../../shared/@outfitter/cli-fakncnjp";
8
+ export { defaultTheme };
@@ -0,0 +1,11 @@
1
+ // @bun
2
+ import {
3
+ defaultTheme
4
+ } from "../../shared/@outfitter/cli-cs45xd6q.js";
5
+ import"../../shared/@outfitter/cli-85fg2vr5.js";
6
+ import"../../shared/@outfitter/cli-9nbyj2bt.js";
7
+ import"../../shared/@outfitter/cli-d9ad0rqj.js";
8
+ import"../../shared/@outfitter/cli-v1tzwxkt.js";
9
+ export {
10
+ defaultTheme
11
+ };
@@ -0,0 +1,12 @@
1
+ import "../../shared/@outfitter/cli-5ppp2a7c";
2
+ import { minimalTheme } from "../../shared/@outfitter/cli-mymyavvj";
3
+ import { defaultTheme } from "../../shared/@outfitter/cli-3dxmmy4c";
4
+ import { boldTheme } from "../../shared/@outfitter/cli-q8r6jarq";
5
+ import { roundedTheme } from "../../shared/@outfitter/cli-swwxvjvm";
6
+ import "../../shared/@outfitter/cli-s0kkx9m1";
7
+ import "../../shared/@outfitter/cli-sx67mmfx";
8
+ import "../../shared/@outfitter/cli-hnpbqmc8";
9
+ import "../../shared/@outfitter/cli-3b7ed3rm";
10
+ import "../../shared/@outfitter/cli-e5ms1y0x";
11
+ import "../../shared/@outfitter/cli-fakncnjp";
12
+ export { roundedTheme, minimalTheme, defaultTheme, boldTheme };
@@ -0,0 +1,24 @@
1
+ // @bun
2
+ import"../../shared/@outfitter/cli-vd60dj65.js";
3
+ import {
4
+ minimalTheme
5
+ } from "../../shared/@outfitter/cli-tarpsa8a.js";
6
+ import {
7
+ boldTheme
8
+ } from "../../shared/@outfitter/cli-8a8xrzhy.js";
9
+ import {
10
+ roundedTheme
11
+ } from "../../shared/@outfitter/cli-w5y3xepp.js";
12
+ import {
13
+ defaultTheme
14
+ } from "../../shared/@outfitter/cli-cs45xd6q.js";
15
+ import"../../shared/@outfitter/cli-85fg2vr5.js";
16
+ import"../../shared/@outfitter/cli-9nbyj2bt.js";
17
+ import"../../shared/@outfitter/cli-d9ad0rqj.js";
18
+ import"../../shared/@outfitter/cli-v1tzwxkt.js";
19
+ export {
20
+ roundedTheme,
21
+ minimalTheme,
22
+ defaultTheme,
23
+ boldTheme
24
+ };
@@ -0,0 +1,8 @@
1
+ import { minimalTheme } from "../../shared/@outfitter/cli-mymyavvj";
2
+ import "../../shared/@outfitter/cli-s0kkx9m1";
3
+ import "../../shared/@outfitter/cli-sx67mmfx";
4
+ import "../../shared/@outfitter/cli-hnpbqmc8";
5
+ import "../../shared/@outfitter/cli-3b7ed3rm";
6
+ import "../../shared/@outfitter/cli-e5ms1y0x";
7
+ import "../../shared/@outfitter/cli-fakncnjp";
8
+ export { minimalTheme };
@@ -0,0 +1,12 @@
1
+ // @bun
2
+ import {
3
+ minimalTheme
4
+ } from "../../shared/@outfitter/cli-tarpsa8a.js";
5
+ import"../../shared/@outfitter/cli-cs45xd6q.js";
6
+ import"../../shared/@outfitter/cli-85fg2vr5.js";
7
+ import"../../shared/@outfitter/cli-9nbyj2bt.js";
8
+ import"../../shared/@outfitter/cli-d9ad0rqj.js";
9
+ import"../../shared/@outfitter/cli-v1tzwxkt.js";
10
+ export {
11
+ minimalTheme
12
+ };
@@ -0,0 +1,8 @@
1
+ import { roundedTheme } from "../../shared/@outfitter/cli-swwxvjvm";
2
+ import "../../shared/@outfitter/cli-s0kkx9m1";
3
+ import "../../shared/@outfitter/cli-sx67mmfx";
4
+ import "../../shared/@outfitter/cli-hnpbqmc8";
5
+ import "../../shared/@outfitter/cli-3b7ed3rm";
6
+ import "../../shared/@outfitter/cli-e5ms1y0x";
7
+ import "../../shared/@outfitter/cli-fakncnjp";
8
+ export { roundedTheme };
@@ -0,0 +1,12 @@
1
+ // @bun
2
+ import {
3
+ roundedTheme
4
+ } from "../../shared/@outfitter/cli-w5y3xepp.js";
5
+ import"../../shared/@outfitter/cli-cs45xd6q.js";
6
+ import"../../shared/@outfitter/cli-85fg2vr5.js";
7
+ import"../../shared/@outfitter/cli-9nbyj2bt.js";
8
+ import"../../shared/@outfitter/cli-d9ad0rqj.js";
9
+ import"../../shared/@outfitter/cli-v1tzwxkt.js";
10
+ export {
11
+ roundedTheme
12
+ };
@@ -0,0 +1,8 @@
1
+ import { resolveGlyph, resolveStateMarker } from "../shared/@outfitter/cli-3t2zaenc";
2
+ import "../shared/@outfitter/cli-s0kkx9m1";
3
+ import "../shared/@outfitter/cli-sx67mmfx";
4
+ import "../shared/@outfitter/cli-hnpbqmc8";
5
+ import "../shared/@outfitter/cli-3b7ed3rm";
6
+ import "../shared/@outfitter/cli-e5ms1y0x";
7
+ import "../shared/@outfitter/cli-fakncnjp";
8
+ export { resolveStateMarker, resolveGlyph };
@@ -0,0 +1,11 @@
1
+ // @bun
2
+ import {
3
+ resolveGlyph,
4
+ resolveStateMarker
5
+ } from "../shared/@outfitter/cli-0ggcy7fa.js";
6
+ import"../shared/@outfitter/cli-p1m5dhrs.js";
7
+ import"../shared/@outfitter/cli-v1tzwxkt.js";
8
+ export {
9
+ resolveStateMarker,
10
+ resolveGlyph
11
+ };
@@ -0,0 +1,7 @@
1
+ import { GlyphPair, MarkerSpec, PartialVisualTheme, SemanticState, ThemeColors, ThemeSpacing, VisualTheme } from "../shared/@outfitter/cli-s0kkx9m1";
2
+ import "../shared/@outfitter/cli-sx67mmfx";
3
+ import "../shared/@outfitter/cli-hnpbqmc8";
4
+ import "../shared/@outfitter/cli-3b7ed3rm";
5
+ import "../shared/@outfitter/cli-e5ms1y0x";
6
+ import "../shared/@outfitter/cli-fakncnjp";
7
+ export { VisualTheme, ThemeSpacing, ThemeColors, SemanticState, PartialVisualTheme, MarkerSpec, GlyphPair };
@@ -0,0 +1 @@
1
+ // @bun
@@ -0,0 +1,3 @@
1
+ import "../shared/@outfitter/cli-0v8vw1de";
2
+ import { TREE_GUIDES, TreeGuideStyle, TreeOptions, renderTree } from "../shared/@outfitter/cli-3b7ed3rm";
3
+ export { renderTree, TreeOptions, TreeGuideStyle, TREE_GUIDES };
@@ -0,0 +1,11 @@
1
+ // @bun
2
+ import"../shared/@outfitter/cli-b5epywry.js";
3
+ import {
4
+ TREE_GUIDES,
5
+ renderTree
6
+ } from "../shared/@outfitter/cli-b5c2k0d7.js";
7
+ import"../shared/@outfitter/cli-v1tzwxkt.js";
8
+ export {
9
+ renderTree,
10
+ TREE_GUIDES
11
+ };
package/dist/types.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./shared/@outfitter/cli-bt423m6y.js";
2
+ import"./shared/@outfitter/cli-v1tzwxkt.js";
3
3
 
4
4
  // packages/cli/src/types.ts
5
5
  import {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@outfitter/cli",
3
3
  "description": "Typed CLI runtime with terminal detection, rendering, output contracts, and input parsing",
4
- "version": "0.1.0-rc.2",
4
+ "version": "0.1.0",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"
@@ -15,40 +15,52 @@
15
15
  "default": "./dist/output.js"
16
16
  }
17
17
  },
18
- "./render": {
18
+ "./demo": {
19
19
  "import": {
20
- "types": "./dist/render/index.d.ts",
21
- "default": "./dist/render/index.js"
20
+ "types": "./dist/demo/index.d.ts",
21
+ "default": "./dist/demo/index.js"
22
+ }
23
+ },
24
+ "./borders": {
25
+ "import": {
26
+ "types": "./dist/borders/index.d.ts",
27
+ "default": "./dist/borders/index.js"
22
28
  }
23
29
  },
24
- "./render/format": {
30
+ "./preset/full": {
25
31
  "import": {
26
- "types": "./dist/render/format.d.ts",
27
- "default": "./dist/render/format.js"
32
+ "types": "./dist/preset/full.d.ts",
33
+ "default": "./dist/preset/full.js"
28
34
  }
29
35
  },
30
- "./render/shapes": {
36
+ "./preset/standard": {
31
37
  "import": {
32
- "types": "./dist/render/shapes.d.ts",
33
- "default": "./dist/render/shapes.js"
38
+ "types": "./dist/preset/standard.d.ts",
39
+ "default": "./dist/preset/standard.js"
34
40
  }
35
41
  },
36
- "./render/markdown": {
42
+ "./box": {
37
43
  "import": {
38
- "types": "./dist/render/markdown.d.ts",
39
- "default": "./dist/render/markdown.js"
44
+ "types": "./dist/box/index.d.ts",
45
+ "default": "./dist/box/index.js"
40
46
  }
41
47
  },
42
- "./render/list": {
48
+ "./tree": {
43
49
  "import": {
44
- "types": "./dist/render/list.d.ts",
45
- "default": "./dist/render/list.js"
50
+ "types": "./dist/tree/index.d.ts",
51
+ "default": "./dist/tree/index.js"
46
52
  }
47
53
  },
48
- "./render/tree": {
54
+ "./demo/section": {
49
55
  "import": {
50
- "types": "./dist/render/tree.d.ts",
51
- "default": "./dist/render/tree.js"
56
+ "types": "./dist/demo/section.d.ts",
57
+ "default": "./dist/demo/section.js"
58
+ }
59
+ },
60
+ "./render": {
61
+ "import": {
62
+ "types": "./dist/render/index.d.ts",
63
+ "default": "./dist/render/index.js"
52
64
  }
53
65
  },
54
66
  "./terminal": {
@@ -57,64 +69,154 @@
57
69
  "default": "./dist/terminal/index.js"
58
70
  }
59
71
  },
60
- "./render/format-relative": {
72
+ "./terminal/detection": {
61
73
  "import": {
62
- "types": "./dist/render/format-relative.d.ts",
63
- "default": "./dist/render/format-relative.js"
74
+ "types": "./dist/terminal/detection.d.ts",
75
+ "default": "./dist/terminal/detection.js"
64
76
  }
65
77
  },
66
- "./render/date": {
78
+ "./prompt/text": {
67
79
  "import": {
68
- "types": "./dist/render/date.d.ts",
69
- "default": "./dist/render/date.js"
80
+ "types": "./dist/prompt/text.d.ts",
81
+ "default": "./dist/prompt/text.js"
70
82
  }
71
83
  },
72
- "./render/json": {
84
+ "./prompt/types": {
73
85
  "import": {
74
- "types": "./dist/render/json.d.ts",
75
- "default": "./dist/render/json.js"
86
+ "types": "./dist/prompt/types.d.ts",
87
+ "default": "./dist/prompt/types.js"
76
88
  }
77
89
  },
78
- "./render/progress": {
90
+ "./prompt/validators": {
79
91
  "import": {
80
- "types": "./dist/render/progress.d.ts",
81
- "default": "./dist/render/progress.js"
92
+ "types": "./dist/prompt/validators.d.ts",
93
+ "default": "./dist/prompt/validators.js"
82
94
  }
83
95
  },
84
- "./render/table": {
96
+ "./prompt": {
85
97
  "import": {
86
- "types": "./dist/render/table.d.ts",
87
- "default": "./dist/render/table.js"
98
+ "types": "./dist/prompt/index.d.ts",
99
+ "default": "./dist/prompt/index.js"
88
100
  }
89
101
  },
90
- "./render/text": {
102
+ "./streaming/spinner": {
91
103
  "import": {
92
- "types": "./dist/render/text.d.ts",
93
- "default": "./dist/render/text.js"
104
+ "types": "./dist/streaming/spinner.d.ts",
105
+ "default": "./dist/streaming/spinner.js"
94
106
  }
95
107
  },
96
- "./render/colors": {
108
+ "./streaming/ansi": {
97
109
  "import": {
98
- "types": "./dist/render/colors.d.ts",
99
- "default": "./dist/render/colors.js"
110
+ "types": "./dist/streaming/ansi.d.ts",
111
+ "default": "./dist/streaming/ansi.js"
100
112
  }
101
113
  },
102
- "./terminal/detection": {
114
+ "./streaming/writer": {
103
115
  "import": {
104
- "types": "./dist/terminal/detection.d.ts",
105
- "default": "./dist/terminal/detection.js"
116
+ "types": "./dist/streaming/writer.d.ts",
117
+ "default": "./dist/streaming/writer.js"
106
118
  }
107
119
  },
108
- "./types": {
120
+ "./streaming": {
109
121
  "import": {
110
- "types": "./dist/types.d.ts",
111
- "default": "./dist/types.js"
122
+ "types": "./dist/streaming/index.d.ts",
123
+ "default": "./dist/streaming/index.js"
112
124
  }
113
125
  },
114
- ".": {
126
+ "./theme/presets/rounded": {
115
127
  "import": {
116
- "types": "./dist/index.d.ts",
117
- "default": "./dist/index.js"
128
+ "types": "./dist/theme/presets/rounded.d.ts",
129
+ "default": "./dist/theme/presets/rounded.js"
130
+ }
131
+ },
132
+ "./theme/presets/bold": {
133
+ "import": {
134
+ "types": "./dist/theme/presets/bold.d.ts",
135
+ "default": "./dist/theme/presets/bold.js"
136
+ }
137
+ },
138
+ "./theme/presets/minimal": {
139
+ "import": {
140
+ "types": "./dist/theme/presets/minimal.d.ts",
141
+ "default": "./dist/theme/presets/minimal.js"
142
+ }
143
+ },
144
+ "./theme/presets/default": {
145
+ "import": {
146
+ "types": "./dist/theme/presets/default.d.ts",
147
+ "default": "./dist/theme/presets/default.js"
148
+ }
149
+ },
150
+ "./theme/presets": {
151
+ "import": {
152
+ "types": "./dist/theme/presets/index.d.ts",
153
+ "default": "./dist/theme/presets/index.js"
154
+ }
155
+ },
156
+ "./prompt/confirm": {
157
+ "import": {
158
+ "types": "./dist/prompt/confirm.d.ts",
159
+ "default": "./dist/prompt/confirm.js"
160
+ }
161
+ },
162
+ "./prompt/select": {
163
+ "import": {
164
+ "types": "./dist/prompt/select.d.ts",
165
+ "default": "./dist/prompt/select.js"
166
+ }
167
+ },
168
+ "./prompt/group": {
169
+ "import": {
170
+ "types": "./dist/prompt/group.d.ts",
171
+ "default": "./dist/prompt/group.js"
172
+ }
173
+ },
174
+ "./list": {
175
+ "import": {
176
+ "types": "./dist/list/index.d.ts",
177
+ "default": "./dist/list/index.js"
178
+ }
179
+ },
180
+ "./colors": {
181
+ "import": {
182
+ "types": "./dist/colors/index.d.ts",
183
+ "default": "./dist/colors/index.js"
184
+ }
185
+ },
186
+ "./table": {
187
+ "import": {
188
+ "types": "./dist/table/index.d.ts",
189
+ "default": "./dist/table/index.js"
190
+ }
191
+ },
192
+ "./theme/context": {
193
+ "import": {
194
+ "types": "./dist/theme/context.d.ts",
195
+ "default": "./dist/theme/context.js"
196
+ }
197
+ },
198
+ "./theme/types": {
199
+ "import": {
200
+ "types": "./dist/theme/types.d.ts",
201
+ "default": "./dist/theme/types.js"
202
+ }
203
+ },
204
+ "./theme": {
205
+ "import": {
206
+ "types": "./dist/theme/index.d.ts",
207
+ "default": "./dist/theme/index.js"
208
+ }
209
+ },
210
+ "./theme/create": {
211
+ "import": {
212
+ "types": "./dist/theme/create.d.ts",
213
+ "default": "./dist/theme/create.js"
214
+ }
215
+ },
216
+ "./theme/resolve": {
217
+ "import": {
218
+ "types": "./dist/theme/resolve.d.ts",
219
+ "default": "./dist/theme/resolve.js"
118
220
  }
119
221
  },
120
222
  "./pagination": {
@@ -129,12 +231,24 @@
129
231
  "default": "./dist/input.js"
130
232
  }
131
233
  },
234
+ "./types": {
235
+ "import": {
236
+ "types": "./dist/types.d.ts",
237
+ "default": "./dist/types.js"
238
+ }
239
+ },
132
240
  "./actions": {
133
241
  "import": {
134
242
  "types": "./dist/actions.d.ts",
135
243
  "default": "./dist/actions.js"
136
244
  }
137
245
  },
246
+ ".": {
247
+ "import": {
248
+ "types": "./dist/index.d.ts",
249
+ "default": "./dist/index.js"
250
+ }
251
+ },
138
252
  "./command": {
139
253
  "import": {
140
254
  "types": "./dist/command.d.ts",
@@ -155,14 +269,14 @@
155
269
  },
156
270
  "dependencies": {
157
271
  "@clack/prompts": "^0.11.0",
158
- "@outfitter/config": "workspace:*",
159
- "@outfitter/contracts": "workspace:*",
160
- "@outfitter/types": "workspace:*",
272
+ "@outfitter/config": "0.1.0",
273
+ "@outfitter/contracts": "0.1.0",
274
+ "@outfitter/types": "0.1.0",
161
275
  "better-result": "^2.5.1",
162
276
  "commander": "^14.0.2"
163
277
  },
164
278
  "devDependencies": {
165
- "@types/bun": "^1.3.6",
279
+ "@types/bun": "^1.3.7",
166
280
  "@types/node": "^25.0.10",
167
281
  "typescript": "^5.9.3"
168
282
  },
@@ -170,7 +284,7 @@
170
284
  "zod": "^4.3.5"
171
285
  },
172
286
  "engines": {
173
- "bun": ">=1.3.6"
287
+ "bun": ">=1.3.7"
174
288
  },
175
289
  "publishConfig": {
176
290
  "access": "public"