@outfitter/cli 0.1.0-rc.1 → 0.1.0-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -32
- package/dist/actions.js +1 -1
- package/dist/borders/index.d.ts +3 -0
- package/dist/borders/index.js +13 -0
- package/dist/box/index.d.ts +4 -0
- package/dist/box/index.js +13 -0
- package/dist/cli.d.ts +2 -103
- package/dist/cli.js +4 -51
- package/dist/colors/index.d.ts +3 -0
- package/dist/colors/index.js +18 -0
- package/dist/command.d.ts +3 -37
- package/dist/command.js +5 -1
- package/dist/demo/index.d.ts +78 -0
- package/dist/demo/index.js +148 -0
- package/dist/demo/registry.d.ts +7 -0
- package/dist/demo/registry.js +28 -0
- package/dist/demo/renderers/borders.d.ts +7 -0
- package/dist/demo/renderers/borders.js +17 -0
- package/dist/demo/renderers/box.d.ts +7 -0
- package/dist/demo/renderers/box.js +18 -0
- package/dist/demo/renderers/colors.d.ts +7 -0
- package/dist/demo/renderers/colors.js +18 -0
- package/dist/demo/renderers/indicators.d.ts +7 -0
- package/dist/demo/renderers/indicators.js +17 -0
- package/dist/demo/renderers/list.d.ts +7 -0
- package/dist/demo/renderers/list.js +19 -0
- package/dist/demo/renderers/markdown.d.ts +7 -0
- package/dist/demo/renderers/markdown.js +18 -0
- package/dist/demo/renderers/progress.d.ts +7 -0
- package/dist/demo/renderers/progress.js +17 -0
- package/dist/demo/renderers/spinner.d.ts +7 -0
- package/dist/demo/renderers/spinner.js +19 -0
- package/dist/demo/renderers/table.d.ts +7 -0
- package/dist/demo/renderers/table.js +19 -0
- package/dist/demo/renderers/text.d.ts +7 -0
- package/dist/demo/renderers/text.js +16 -0
- package/dist/demo/renderers/tree.d.ts +7 -0
- package/dist/demo/renderers/tree.js +18 -0
- package/dist/demo/section.d.ts +5 -0
- package/dist/demo/section.js +23 -0
- package/dist/demo/templates.d.ts +4 -0
- package/dist/demo/templates.js +10 -0
- package/dist/demo/types.d.ts +3 -0
- package/dist/demo/types.js +8 -0
- package/dist/index.d.ts +5 -607
- package/dist/index.js +10 -44
- package/dist/input.d.ts +9 -123
- package/dist/input.js +2 -3
- package/dist/list/index.d.ts +3 -0
- package/dist/list/index.js +9 -0
- package/dist/output.d.ts +2 -68
- package/dist/output.js +4 -150
- package/dist/pagination.d.ts +1 -34
- package/dist/pagination.js +1 -1
- package/dist/preset/full.d.ts +14 -0
- package/dist/preset/full.js +41 -0
- package/dist/preset/standard.d.ts +11 -0
- package/dist/preset/standard.js +30 -0
- package/dist/prompt/confirm.d.ts +4 -0
- package/dist/prompt/confirm.js +9 -0
- package/dist/prompt/group.d.ts +4 -0
- package/dist/prompt/group.js +9 -0
- package/dist/prompt/index.d.ts +7 -0
- package/dist/prompt/index.js +32 -0
- package/dist/prompt/select.d.ts +4 -0
- package/dist/prompt/select.js +11 -0
- package/dist/prompt/text.d.ts +4 -0
- package/dist/prompt/text.js +11 -0
- package/dist/prompt/types.d.ts +3 -0
- package/dist/prompt/types.js +8 -0
- package/dist/prompt/validators.d.ts +2 -0
- package/dist/prompt/validators.js +8 -0
- package/dist/render/borders.d.ts +2 -0
- package/dist/render/borders.js +15 -0
- package/dist/render/box.d.ts +3 -0
- package/dist/render/box.js +23 -0
- package/dist/render/colors.d.ts +2 -0
- package/dist/render/colors.js +20 -0
- package/dist/render/date.d.ts +2 -0
- package/dist/render/date.js +12 -0
- package/dist/render/format-relative.d.ts +2 -0
- package/dist/render/format-relative.js +8 -0
- package/dist/render/format.d.ts +2 -0
- package/dist/render/format.js +10 -0
- package/dist/render/heading.d.ts +3 -0
- package/dist/render/heading.js +14 -0
- package/dist/render/index.d.ts +32 -0
- package/dist/render/index.js +235 -0
- package/dist/render/indicators.d.ts +2 -0
- package/dist/render/indicators.js +14 -0
- package/dist/render/json.d.ts +2 -0
- package/dist/render/json.js +10 -0
- package/dist/render/layout.d.ts +5 -0
- package/dist/render/layout.js +25 -0
- package/dist/render/list.d.ts +2 -0
- package/dist/render/list.js +8 -0
- package/dist/render/markdown.d.ts +2 -0
- package/dist/render/markdown.js +10 -0
- package/dist/render/progress.d.ts +2 -0
- package/dist/render/progress.js +8 -0
- package/dist/render/separator.d.ts +3 -0
- package/dist/render/separator.js +14 -0
- package/dist/render/shapes.d.ts +2 -0
- package/dist/render/shapes.js +35 -0
- package/dist/render/spinner.d.ts +2 -0
- package/dist/render/spinner.js +12 -0
- package/dist/render/stack.d.ts +3 -0
- package/dist/render/stack.js +38 -0
- package/dist/render/table.d.ts +3 -0
- package/dist/render/table.js +12 -0
- package/dist/render/text.d.ts +2 -0
- package/dist/render/text.js +27 -0
- package/dist/render/tree.d.ts +2 -0
- package/dist/render/tree.js +10 -0
- package/dist/render/types.d.ts +2 -0
- package/dist/render/types.js +1 -0
- package/dist/shared/@outfitter/cli-0ggcy7fa.js +20 -0
- package/dist/shared/@outfitter/cli-0psys2vm.js +7 -0
- package/dist/shared/@outfitter/cli-1bghjef6.js +352 -0
- package/dist/shared/@outfitter/cli-1kwbnt86.d.ts +45 -0
- package/dist/shared/@outfitter/cli-2g8bx1aq.d.ts +50 -0
- package/dist/shared/@outfitter/cli-33e97cjs.d.ts +42 -0
- package/dist/shared/@outfitter/cli-34fqr7bp.js +37 -0
- package/dist/shared/@outfitter/cli-3b7ed3rm.d.ts +97 -0
- package/dist/shared/@outfitter/cli-3dxmmy4c.d.ts +20 -0
- package/dist/shared/@outfitter/cli-3f12z5kf.d.ts +83 -0
- package/dist/shared/@outfitter/cli-3hp8qwx3.js +11 -0
- package/dist/shared/@outfitter/cli-3t2zaenc.d.ts +59 -0
- package/dist/shared/@outfitter/cli-4cb5g831.d.ts +147 -0
- package/dist/shared/@outfitter/cli-4w2a1rfy.d.ts +23 -0
- package/dist/shared/@outfitter/cli-4x6pqnez.js +20 -0
- package/dist/shared/@outfitter/cli-671sxkhj.js +146 -0
- package/dist/shared/@outfitter/cli-6bztk73z.d.ts +51 -0
- package/dist/shared/@outfitter/cli-6fxffp8k.js +1 -0
- package/dist/shared/@outfitter/cli-6j9qynm8.js +118 -0
- package/dist/shared/@outfitter/cli-6m988kh0.d.ts +61 -0
- package/dist/shared/@outfitter/cli-72kg550t.d.ts +53 -0
- package/dist/shared/@outfitter/cli-74ba31gz.js +134 -0
- package/dist/shared/@outfitter/cli-7gnrb8cr.js +214 -0
- package/dist/shared/@outfitter/cli-7na6p4fs.d.ts +59 -0
- package/dist/shared/@outfitter/cli-7nm6edvh.d.ts +17 -0
- package/dist/shared/@outfitter/cli-85fg2vr5.js +123 -0
- package/dist/shared/@outfitter/cli-8a8xrzhy.js +20 -0
- package/dist/shared/@outfitter/cli-8aa1vhdn.d.ts +119 -0
- package/dist/shared/@outfitter/cli-8bwaw3pz.js +7 -0
- package/dist/shared/@outfitter/cli-8j5k6mr3.js +71 -0
- package/dist/shared/@outfitter/cli-8rx4g3s5.d.ts +41 -0
- package/dist/shared/@outfitter/cli-8xsmsbbd.d.ts +223 -0
- package/dist/shared/@outfitter/cli-96b2p4td.d.ts +56 -0
- package/dist/shared/@outfitter/cli-9khk3cbq.d.ts +190 -0
- package/dist/shared/@outfitter/cli-9mtjjykw.js +67 -0
- package/dist/shared/@outfitter/cli-9nbyj2bt.js +128 -0
- package/dist/shared/@outfitter/cli-a4q87517.d.ts +64 -0
- package/dist/shared/@outfitter/cli-afhjqmg3.js +63 -0
- package/dist/shared/@outfitter/cli-an9j0h80.js +117 -0
- package/dist/shared/@outfitter/cli-ay411nbr.js +122 -0
- package/dist/shared/@outfitter/cli-b0tzqgnf.d.ts +132 -0
- package/dist/shared/@outfitter/cli-b5c2k0d7.js +39 -0
- package/dist/shared/@outfitter/cli-b5epywry.js +1 -0
- package/dist/shared/@outfitter/cli-bc17qeh2.js +19 -0
- package/dist/shared/@outfitter/cli-bcmcaz1b.js +23 -0
- package/dist/shared/@outfitter/cli-bf3vma4q.js +61 -0
- package/dist/shared/@outfitter/cli-c8q4f71g.js +144 -0
- package/dist/shared/@outfitter/cli-c9knfqn5.d.ts +30 -0
- package/dist/shared/@outfitter/cli-cf1xexgn.d.ts +53 -0
- package/dist/shared/@outfitter/cli-cf2s94s1.d.ts +42 -0
- package/dist/shared/@outfitter/cli-cs45xd6q.js +59 -0
- package/dist/shared/@outfitter/cli-d7jpshq5.d.ts +128 -0
- package/dist/shared/@outfitter/cli-d9ad0rqj.js +75 -0
- package/dist/shared/@outfitter/cli-daw296mv.js +61 -0
- package/dist/shared/@outfitter/cli-e5ms1y0x.d.ts +91 -0
- package/dist/shared/@outfitter/cli-e73v3qqy.d.ts +93 -0
- package/dist/shared/@outfitter/cli-efy6jfcj.js +52 -0
- package/dist/shared/@outfitter/cli-en6zn6sj.js +1 -0
- package/dist/shared/@outfitter/cli-ep2cvtk8.js +48 -0
- package/dist/shared/@outfitter/cli-evx7qcp1.d.ts +300 -0
- package/dist/shared/@outfitter/cli-f75h8e94.js +7 -0
- package/dist/shared/@outfitter/cli-fakncnjp.d.ts +106 -0
- package/dist/shared/@outfitter/cli-feb5j90n.js +94 -0
- package/dist/shared/@outfitter/cli-h20jc0bs.d.ts +66 -0
- package/dist/shared/@outfitter/cli-hnpbqmc8.d.ts +328 -0
- package/dist/shared/@outfitter/cli-j19a91ck.js +30 -0
- package/dist/shared/@outfitter/cli-j4n8gaf3.js +95 -0
- package/dist/shared/@outfitter/cli-jejfypgf.js +85 -0
- package/dist/shared/@outfitter/cli-jhcdwvpn.js +135 -0
- package/dist/shared/@outfitter/cli-jjemfdta.js +85 -0
- package/dist/shared/@outfitter/cli-kc84wmch.js +267 -0
- package/dist/shared/@outfitter/cli-ktqme80d.js +7 -0
- package/dist/shared/@outfitter/cli-mhamvbty.d.ts +34 -0
- package/dist/shared/@outfitter/cli-mq0jp15z.js +1 -0
- package/dist/shared/@outfitter/cli-mymyavvj.d.ts +26 -0
- package/dist/shared/@outfitter/cli-n17gt1dz.js +19 -0
- package/dist/shared/@outfitter/cli-n9dbh0hp.js +51 -0
- package/dist/shared/@outfitter/cli-nvvc92c8.js +128 -0
- package/dist/shared/@outfitter/cli-p1m5dhrs.js +169 -0
- package/dist/shared/@outfitter/cli-p38sfxyk.js +25 -0
- package/dist/shared/@outfitter/cli-p3dqm1vd.js +22 -0
- package/dist/shared/@outfitter/cli-p9j1phge.js +20 -0
- package/dist/shared/@outfitter/cli-pkxmzavm.js +62 -0
- package/dist/shared/@outfitter/cli-q8r6jarq.d.ts +24 -0
- package/dist/shared/@outfitter/cli-qj83y5wj.d.ts +71 -0
- package/dist/shared/@outfitter/cli-qjfc3j11.d.ts +112 -0
- package/dist/shared/@outfitter/cli-qp4cbhqr.js +70 -0
- package/dist/shared/@outfitter/cli-s0kkx9m1.d.ts +164 -0
- package/dist/shared/@outfitter/cli-snxj55n6.js +43 -0
- package/dist/shared/@outfitter/cli-swwxvjvm.d.ts +24 -0
- package/dist/shared/@outfitter/cli-sx67mmfx.d.ts +98 -0
- package/dist/shared/@outfitter/cli-tarpsa8a.js +30 -0
- package/dist/shared/@outfitter/cli-thvzhjd1.js +126 -0
- package/dist/shared/@outfitter/cli-tqewy503.d.ts +36 -0
- package/dist/shared/@outfitter/cli-ttt7r0j7.d.ts +253 -0
- package/dist/shared/@outfitter/cli-tvw1xrdj.js +20 -0
- package/dist/shared/@outfitter/cli-v1tzwxkt.js +32 -0
- package/dist/shared/@outfitter/cli-vd60dj65.js +1 -0
- package/dist/shared/@outfitter/cli-vp88gxev.js +279 -0
- package/dist/shared/@outfitter/cli-vstbkzky.d.ts +74 -0
- package/dist/shared/@outfitter/cli-vtg0sqk2.d.ts +54 -0
- package/dist/shared/@outfitter/cli-w5y3xepp.js +20 -0
- package/dist/shared/@outfitter/cli-x4cavvc0.js +1 -0
- package/dist/shared/@outfitter/cli-xep6v2c0.js +52 -0
- package/dist/shared/@outfitter/cli-xg5y5fhk.js +86 -0
- package/dist/shared/@outfitter/cli-xsaheemc.d.ts +248 -0
- package/dist/shared/@outfitter/cli-xvqtqjxk.js +82 -0
- package/dist/shared/@outfitter/cli-y25tt8nc.d.ts +48 -0
- package/dist/shared/@outfitter/cli-zact3325.js +152 -0
- package/dist/shared/@outfitter/cli-zx598p8q.d.ts +26 -0
- package/dist/streaming/ansi.d.ts +2 -0
- package/dist/streaming/ansi.js +8 -0
- package/dist/streaming/index.d.ts +4 -0
- package/dist/streaming/index.js +17 -0
- package/dist/streaming/spinner.d.ts +3 -0
- package/dist/streaming/spinner.js +10 -0
- package/dist/streaming/writer.d.ts +2 -0
- package/dist/streaming/writer.js +9 -0
- package/dist/table/index.d.ts +4 -0
- package/dist/table/index.js +13 -0
- package/dist/terminal/detection.d.ts +2 -0
- package/dist/terminal/detection.js +23 -0
- package/dist/terminal/index.d.ts +2 -0
- package/dist/terminal/index.js +24 -0
- package/dist/theme/context.d.ts +9 -0
- package/dist/theme/context.js +14 -0
- package/dist/theme/create.d.ts +8 -0
- package/dist/theme/create.js +12 -0
- package/dist/theme/index.d.ts +17 -0
- package/dist/theme/index.js +42 -0
- package/dist/theme/presets/bold.d.ts +8 -0
- package/dist/theme/presets/bold.js +12 -0
- package/dist/theme/presets/default.d.ts +8 -0
- package/dist/theme/presets/default.js +11 -0
- package/dist/theme/presets/index.d.ts +12 -0
- package/dist/theme/presets/index.js +24 -0
- package/dist/theme/presets/minimal.d.ts +8 -0
- package/dist/theme/presets/minimal.js +12 -0
- package/dist/theme/presets/rounded.d.ts +8 -0
- package/dist/theme/presets/rounded.js +12 -0
- package/dist/theme/resolve.d.ts +8 -0
- package/dist/theme/resolve.js +11 -0
- package/dist/theme/types.d.ts +7 -0
- package/dist/theme/types.js +1 -0
- package/dist/tree/index.d.ts +3 -0
- package/dist/tree/index.js +11 -0
- package/dist/types.d.ts +1 -252
- package/dist/types.js +1 -1
- package/package.json +228 -20
- package/dist/shared/@outfitter/cli-4yy82cmp.js +0 -20
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { CancelledError, ConfirmPromptOptions, MultiSelectPromptOptions, PasswordPromptOptions, PromptResult, SelectPromptOptions, TextPromptOptions, createCancelledError } from "../shared/@outfitter/cli-3f12z5kf";
|
|
2
|
+
import "../shared/@outfitter/cli-vstbkzky";
|
|
3
|
+
export { createCancelledError, TextPromptOptions, SelectPromptOptions, PromptResult, PasswordPromptOptions, MultiSelectPromptOptions, ConfirmPromptOptions, CancelledError };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
BORDERS,
|
|
4
|
+
drawHorizontalLine,
|
|
5
|
+
getBorderCharacters,
|
|
6
|
+
init_borders
|
|
7
|
+
} from "../shared/@outfitter/cli-85fg2vr5.js";
|
|
8
|
+
import"../shared/@outfitter/cli-v1tzwxkt.js";
|
|
9
|
+
init_borders();
|
|
10
|
+
|
|
11
|
+
export {
|
|
12
|
+
getBorderCharacters,
|
|
13
|
+
drawHorizontalLine,
|
|
14
|
+
BORDERS
|
|
15
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { Box, BoxAlign, BoxBorders, BoxContent, BoxOptions, BoxSpacing, NormalizedBorders, NormalizedSpacing, createBox, normalizeBorders, normalizeMargin, normalizePadding, renderBox } from "../shared/@outfitter/cli-8xsmsbbd";
|
|
2
|
+
import "../shared/@outfitter/cli-fakncnjp";
|
|
3
|
+
export { renderBox, normalizePadding, normalizeMargin, normalizeBorders, createBox, NormalizedSpacing, NormalizedBorders, BoxSpacing, BoxOptions, BoxContent, BoxBorders, BoxAlign, Box };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
createBox,
|
|
4
|
+
init_box,
|
|
5
|
+
normalizeBorders,
|
|
6
|
+
normalizeMargin,
|
|
7
|
+
normalizePadding,
|
|
8
|
+
renderBox
|
|
9
|
+
} from "../shared/@outfitter/cli-vp88gxev.js";
|
|
10
|
+
import"../shared/@outfitter/cli-jjemfdta.js";
|
|
11
|
+
import"../shared/@outfitter/cli-85fg2vr5.js";
|
|
12
|
+
import"../shared/@outfitter/cli-9nbyj2bt.js";
|
|
13
|
+
import"../shared/@outfitter/cli-d9ad0rqj.js";
|
|
14
|
+
import"../shared/@outfitter/cli-v1tzwxkt.js";
|
|
15
|
+
init_box();
|
|
16
|
+
|
|
17
|
+
export {
|
|
18
|
+
renderBox,
|
|
19
|
+
normalizePadding,
|
|
20
|
+
normalizeMargin,
|
|
21
|
+
normalizeBorders,
|
|
22
|
+
createBox
|
|
23
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { ANSI, ColorName, Theme, TokenOptions, Tokens, applyColor, createTheme, createTokens, resolveTokenColorEnabled } from "../shared/@outfitter/cli-xsaheemc";
|
|
2
|
+
export { resolveTokenColorEnabled, createTokens, createTheme, applyColor, Tokens, TokenOptions, Theme, ColorName, ANSI };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
ANSI,
|
|
4
|
+
applyColor,
|
|
5
|
+
createTheme,
|
|
6
|
+
createTokens,
|
|
7
|
+
init_colors,
|
|
8
|
+
resolveTokenColorEnabled
|
|
9
|
+
} from "../shared/@outfitter/cli-9nbyj2bt.js";
|
|
10
|
+
import"../shared/@outfitter/cli-d9ad0rqj.js";
|
|
11
|
+
import"../shared/@outfitter/cli-v1tzwxkt.js";
|
|
12
|
+
init_colors();
|
|
13
|
+
|
|
14
|
+
export {
|
|
15
|
+
resolveTokenColorEnabled,
|
|
16
|
+
createTokens,
|
|
17
|
+
createTheme,
|
|
18
|
+
applyColor,
|
|
19
|
+
ANSI
|
|
20
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
renderHeading
|
|
4
|
+
} from "../shared/@outfitter/cli-xvqtqjxk.js";
|
|
5
|
+
import"../shared/@outfitter/cli-671sxkhj.js";
|
|
6
|
+
import"../shared/@outfitter/cli-vp88gxev.js";
|
|
7
|
+
import"../shared/@outfitter/cli-jjemfdta.js";
|
|
8
|
+
import"../shared/@outfitter/cli-85fg2vr5.js";
|
|
9
|
+
import"../shared/@outfitter/cli-9nbyj2bt.js";
|
|
10
|
+
import"../shared/@outfitter/cli-d9ad0rqj.js";
|
|
11
|
+
import"../shared/@outfitter/cli-v1tzwxkt.js";
|
|
12
|
+
export {
|
|
13
|
+
renderHeading
|
|
14
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Collection, Hierarchy, KeyValue, RenderOptions, Resource, Shape, ShapeRenderer, TreeNode, clearRenderers, isCollection, isHierarchy, isKeyValue, isPlainObject, isResource, registerRenderer, render, treeNodeToRecord, unregisterRenderer } from "../shared/@outfitter/cli-evx7qcp1";
|
|
2
|
+
import { ProgressOptions, renderProgress } from "../shared/@outfitter/cli-7na6p4fs";
|
|
3
|
+
import { ANSI_REGEX, getStringWidth, padText, pluralize, slugify, stripAnsi, truncateText, wrapText } from "../shared/@outfitter/cli-4cb5g831";
|
|
4
|
+
import { DividerStyle, SeparatorOptions, renderSeparator } from "../shared/@outfitter/cli-1kwbnt86";
|
|
5
|
+
import { formatRelative } from "../shared/@outfitter/cli-zx598p8q";
|
|
6
|
+
import { Alignment, HorizontalLayoutOptions, VerticalLayoutOptions, createLayoutContext, getBoxOverhead, getContentWidth, getTerminalWidth, joinHorizontal, joinVertical, resolveWidth } from "../shared/@outfitter/cli-9khk3cbq";
|
|
7
|
+
import { DateRange, endOfDay, parseDateRange, startOfDay } from "../shared/@outfitter/cli-a4q87517";
|
|
8
|
+
import { formatBytes, formatDuration } from "../shared/@outfitter/cli-cf2s94s1";
|
|
9
|
+
import { renderMarkdown } from "../shared/@outfitter/cli-c9knfqn5";
|
|
10
|
+
import { renderJson, renderText } from "../shared/@outfitter/cli-33e97cjs";
|
|
11
|
+
import "../shared/@outfitter/cli-m8vv6kd6";
|
|
12
|
+
import "../shared/@outfitter/cli-5ppp2a7c";
|
|
13
|
+
import { minimalTheme } from "../shared/@outfitter/cli-mymyavvj";
|
|
14
|
+
import { CreateVisualThemeOptions, createVisualTheme } from "../shared/@outfitter/cli-6m988kh0";
|
|
15
|
+
import { ThemedContextOptions, ThemedLayoutContext, createThemedContext, getContextTheme } from "../shared/@outfitter/cli-e73v3qqy";
|
|
16
|
+
import { resolveGlyph, resolveStateMarker } from "../shared/@outfitter/cli-3t2zaenc";
|
|
17
|
+
import { defaultTheme } from "../shared/@outfitter/cli-3dxmmy4c";
|
|
18
|
+
import { boldTheme } from "../shared/@outfitter/cli-q8r6jarq";
|
|
19
|
+
import { roundedTheme } from "../shared/@outfitter/cli-swwxvjvm";
|
|
20
|
+
import { GlyphPair, MarkerSpec, PartialVisualTheme, SemanticState, ThemeColors, ThemeSpacing, VisualTheme } from "../shared/@outfitter/cli-s0kkx9m1";
|
|
21
|
+
import { INDICATORS, IndicatorCategory, IndicatorSet, ProgressStyle, getIndicator, getProgressIndicator, isUnicodeSupported } from "../shared/@outfitter/cli-sx67mmfx";
|
|
22
|
+
import { BoxifyOptions, DEFAULT_STACK_THEME, DELIMITERS, DelimiterName, DelimiterSet, HStackOptions, ItemState, MarkerName, Renderable, StackBox, StackInput, StackItem, StackTheme, VStackMode, VStackOptions, boxify, createHStack, createVStack, getDelimiter, getMarker, hstack, isRenderable, unbox, vstack, vstackItem } from "../shared/@outfitter/cli-hnpbqmc8";
|
|
23
|
+
import { TREE_GUIDES, TreeGuideStyle, TreeOptions, renderTree } from "../shared/@outfitter/cli-3b7ed3rm";
|
|
24
|
+
import { Box, BoxAlign, BoxBorders, BoxContent, BoxOptions, BoxSpacing, NormalizedBorders, NormalizedSpacing, createBox, normalizeBorders, normalizeMargin, normalizePadding, renderBox } from "../shared/@outfitter/cli-8xsmsbbd";
|
|
25
|
+
import { TableOptions, renderTable } from "../shared/@outfitter/cli-qj83y5wj";
|
|
26
|
+
import { SPINNERS, SpinnerFrames, SpinnerStyle, getSpinnerFrame, renderSpinner } from "../shared/@outfitter/cli-e5ms1y0x";
|
|
27
|
+
import { ListItem, ListOptions, ListStyle, NestedListItem, renderList } from "../shared/@outfitter/cli-b0tzqgnf";
|
|
28
|
+
import { BORDERS, BorderCharacters, BorderStyle, LinePosition, drawHorizontalLine, getBorderCharacters } from "../shared/@outfitter/cli-fakncnjp";
|
|
29
|
+
import { CaseMode, HeadingOptions, HeadingWidthMode, SeparatorStyle, renderHeading } from "../shared/@outfitter/cli-6bztk73z";
|
|
30
|
+
import { LayoutContext, WidthMode } from "../shared/@outfitter/cli-2g8bx1aq";
|
|
31
|
+
import { ANSI, ColorName, Theme, TokenOptions, Tokens, applyColor, createTheme, createTokens, resolveTokenColorEnabled } from "../shared/@outfitter/cli-xsaheemc";
|
|
32
|
+
export { wrapText, vstackItem, vstack, unregisterRenderer, unbox, truncateText, treeNodeToRecord, stripAnsi, startOfDay, slugify, roundedTheme, resolveWidth, resolveTokenColorEnabled, resolveStateMarker, resolveGlyph, renderTree, renderText, renderTable, renderSpinner, renderSeparator, renderProgress, renderMarkdown, renderList, renderJson, renderHeading, renderBox, render, registerRenderer, pluralize, parseDateRange, padText, normalizePadding, normalizeMargin, normalizeBorders, minimalTheme, joinVertical, joinHorizontal, isUnicodeSupported, isResource, isRenderable, isPlainObject, isKeyValue, isHierarchy, isCollection, hstack, getTerminalWidth, getStringWidth, getSpinnerFrame, getProgressIndicator, getMarker, getIndicator, getDelimiter, getContextTheme, getContentWidth, getBoxOverhead, getBorderCharacters, formatRelative, formatDuration, formatBytes, endOfDay, drawHorizontalLine, defaultTheme, createVisualTheme, createVStack, createTokens, createThemedContext, createTheme, createLayoutContext, createHStack, createBox, clearRenderers, boxify, boldTheme, applyColor, WidthMode, VisualTheme, VerticalLayoutOptions, VStackOptions, VStackMode, TreeOptions, TreeNode, TreeGuideStyle, Tokens, TokenOptions, ThemedLayoutContext, ThemedContextOptions, ThemeSpacing, ThemeColors, Theme, TableOptions, TREE_GUIDES, StackTheme, StackItem, StackInput, StackBox, SpinnerStyle, SpinnerFrames, ShapeRenderer, Shape, SeparatorStyle, SeparatorOptions, SemanticState, SPINNERS, Resource, Renderable, RenderOptions, ProgressStyle, ProgressOptions, PartialVisualTheme, NormalizedSpacing, NormalizedBorders, NestedListItem, MarkerSpec, MarkerName, ListStyle, ListOptions, ListItem, LinePosition, LayoutContext, KeyValue, ItemState, IndicatorSet, IndicatorCategory, INDICATORS, HorizontalLayoutOptions, Hierarchy, HeadingWidthMode, HeadingOptions, HStackOptions, GlyphPair, DividerStyle, DelimiterSet, DelimiterName, DateRange, DELIMITERS, DEFAULT_STACK_THEME, CreateVisualThemeOptions, ColorName, Collection, CaseMode, BoxifyOptions, BoxSpacing, BoxOptions, BoxContent, BoxBorders, BoxAlign, Box, BorderStyle, BorderCharacters, BORDERS, Alignment, ANSI_REGEX, ANSI };
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
clearRenderers,
|
|
4
|
+
isCollection,
|
|
5
|
+
isHierarchy,
|
|
6
|
+
isKeyValue,
|
|
7
|
+
isPlainObject,
|
|
8
|
+
isResource,
|
|
9
|
+
registerRenderer,
|
|
10
|
+
render,
|
|
11
|
+
treeNodeToRecord,
|
|
12
|
+
unregisterRenderer
|
|
13
|
+
} from "../shared/@outfitter/cli-jhcdwvpn.js";
|
|
14
|
+
import {
|
|
15
|
+
renderSeparator
|
|
16
|
+
} from "../shared/@outfitter/cli-p38sfxyk.js";
|
|
17
|
+
import {
|
|
18
|
+
formatRelative
|
|
19
|
+
} from "../shared/@outfitter/cli-8j5k6mr3.js";
|
|
20
|
+
import {
|
|
21
|
+
DEFAULT_STACK_THEME,
|
|
22
|
+
DELIMITERS,
|
|
23
|
+
boxify,
|
|
24
|
+
createHStack,
|
|
25
|
+
createVStack,
|
|
26
|
+
getDelimiter,
|
|
27
|
+
getMarker,
|
|
28
|
+
hstack,
|
|
29
|
+
isRenderable,
|
|
30
|
+
unbox,
|
|
31
|
+
vstack,
|
|
32
|
+
vstackItem
|
|
33
|
+
} from "../shared/@outfitter/cli-1bghjef6.js";
|
|
34
|
+
import {
|
|
35
|
+
endOfDay,
|
|
36
|
+
parseDateRange,
|
|
37
|
+
startOfDay
|
|
38
|
+
} from "../shared/@outfitter/cli-c8q4f71g.js";
|
|
39
|
+
import {
|
|
40
|
+
formatBytes,
|
|
41
|
+
formatDuration
|
|
42
|
+
} from "../shared/@outfitter/cli-j19a91ck.js";
|
|
43
|
+
import {
|
|
44
|
+
renderJson,
|
|
45
|
+
renderText
|
|
46
|
+
} from "../shared/@outfitter/cli-3hp8qwx3.js";
|
|
47
|
+
import"../shared/@outfitter/cli-6fxffp8k.js";
|
|
48
|
+
import"../shared/@outfitter/cli-vd60dj65.js";
|
|
49
|
+
import {
|
|
50
|
+
minimalTheme
|
|
51
|
+
} from "../shared/@outfitter/cli-tarpsa8a.js";
|
|
52
|
+
import {
|
|
53
|
+
createVisualTheme
|
|
54
|
+
} from "../shared/@outfitter/cli-ep2cvtk8.js";
|
|
55
|
+
import {
|
|
56
|
+
createThemedContext,
|
|
57
|
+
getContextTheme
|
|
58
|
+
} from "../shared/@outfitter/cli-p9j1phge.js";
|
|
59
|
+
import {
|
|
60
|
+
resolveGlyph,
|
|
61
|
+
resolveStateMarker
|
|
62
|
+
} from "../shared/@outfitter/cli-0ggcy7fa.js";
|
|
63
|
+
import {
|
|
64
|
+
boldTheme
|
|
65
|
+
} from "../shared/@outfitter/cli-8a8xrzhy.js";
|
|
66
|
+
import {
|
|
67
|
+
roundedTheme
|
|
68
|
+
} from "../shared/@outfitter/cli-w5y3xepp.js";
|
|
69
|
+
import {
|
|
70
|
+
defaultTheme
|
|
71
|
+
} from "../shared/@outfitter/cli-cs45xd6q.js";
|
|
72
|
+
import {
|
|
73
|
+
TREE_GUIDES,
|
|
74
|
+
renderTree
|
|
75
|
+
} from "../shared/@outfitter/cli-b5c2k0d7.js";
|
|
76
|
+
import {
|
|
77
|
+
SPINNERS,
|
|
78
|
+
getSpinnerFrame,
|
|
79
|
+
renderSpinner
|
|
80
|
+
} from "../shared/@outfitter/cli-n9dbh0hp.js";
|
|
81
|
+
import {
|
|
82
|
+
renderList
|
|
83
|
+
} from "../shared/@outfitter/cli-xg5y5fhk.js";
|
|
84
|
+
import {
|
|
85
|
+
INDICATORS,
|
|
86
|
+
getIndicator,
|
|
87
|
+
getProgressIndicator,
|
|
88
|
+
isUnicodeSupported
|
|
89
|
+
} from "../shared/@outfitter/cli-p1m5dhrs.js";
|
|
90
|
+
import {
|
|
91
|
+
renderProgress
|
|
92
|
+
} from "../shared/@outfitter/cli-bc17qeh2.js";
|
|
93
|
+
import {
|
|
94
|
+
renderTable
|
|
95
|
+
} from "../shared/@outfitter/cli-an9j0h80.js";
|
|
96
|
+
import {
|
|
97
|
+
renderMarkdown
|
|
98
|
+
} from "../shared/@outfitter/cli-afhjqmg3.js";
|
|
99
|
+
import {
|
|
100
|
+
renderHeading
|
|
101
|
+
} from "../shared/@outfitter/cli-xvqtqjxk.js";
|
|
102
|
+
import {
|
|
103
|
+
createLayoutContext,
|
|
104
|
+
getBoxOverhead,
|
|
105
|
+
getContentWidth,
|
|
106
|
+
getTerminalWidth,
|
|
107
|
+
joinHorizontal,
|
|
108
|
+
joinVertical,
|
|
109
|
+
resolveWidth
|
|
110
|
+
} from "../shared/@outfitter/cli-671sxkhj.js";
|
|
111
|
+
import {
|
|
112
|
+
createBox,
|
|
113
|
+
init_box,
|
|
114
|
+
normalizeBorders,
|
|
115
|
+
normalizeMargin,
|
|
116
|
+
normalizePadding,
|
|
117
|
+
renderBox
|
|
118
|
+
} from "../shared/@outfitter/cli-vp88gxev.js";
|
|
119
|
+
import {
|
|
120
|
+
ANSI_REGEX,
|
|
121
|
+
getStringWidth,
|
|
122
|
+
init_text,
|
|
123
|
+
padText,
|
|
124
|
+
pluralize,
|
|
125
|
+
slugify,
|
|
126
|
+
stripAnsi,
|
|
127
|
+
truncateText,
|
|
128
|
+
wrapText
|
|
129
|
+
} from "../shared/@outfitter/cli-jjemfdta.js";
|
|
130
|
+
import {
|
|
131
|
+
BORDERS,
|
|
132
|
+
drawHorizontalLine,
|
|
133
|
+
getBorderCharacters,
|
|
134
|
+
init_borders
|
|
135
|
+
} from "../shared/@outfitter/cli-85fg2vr5.js";
|
|
136
|
+
import {
|
|
137
|
+
ANSI,
|
|
138
|
+
applyColor,
|
|
139
|
+
createTheme,
|
|
140
|
+
createTokens,
|
|
141
|
+
init_colors,
|
|
142
|
+
resolveTokenColorEnabled
|
|
143
|
+
} from "../shared/@outfitter/cli-9nbyj2bt.js";
|
|
144
|
+
import"../shared/@outfitter/cli-d9ad0rqj.js";
|
|
145
|
+
import"../shared/@outfitter/cli-v1tzwxkt.js";
|
|
146
|
+
|
|
147
|
+
// packages/cli/src/render/index.ts
|
|
148
|
+
init_borders();
|
|
149
|
+
init_box();
|
|
150
|
+
init_colors();
|
|
151
|
+
init_text();
|
|
152
|
+
export {
|
|
153
|
+
wrapText,
|
|
154
|
+
vstackItem,
|
|
155
|
+
vstack,
|
|
156
|
+
unregisterRenderer,
|
|
157
|
+
unbox,
|
|
158
|
+
truncateText,
|
|
159
|
+
treeNodeToRecord,
|
|
160
|
+
stripAnsi,
|
|
161
|
+
startOfDay,
|
|
162
|
+
slugify,
|
|
163
|
+
roundedTheme,
|
|
164
|
+
resolveWidth,
|
|
165
|
+
resolveTokenColorEnabled,
|
|
166
|
+
resolveStateMarker,
|
|
167
|
+
resolveGlyph,
|
|
168
|
+
renderTree,
|
|
169
|
+
renderText,
|
|
170
|
+
renderTable,
|
|
171
|
+
renderSpinner,
|
|
172
|
+
renderSeparator,
|
|
173
|
+
renderProgress,
|
|
174
|
+
renderMarkdown,
|
|
175
|
+
renderList,
|
|
176
|
+
renderJson,
|
|
177
|
+
renderHeading,
|
|
178
|
+
renderBox,
|
|
179
|
+
render,
|
|
180
|
+
registerRenderer,
|
|
181
|
+
pluralize,
|
|
182
|
+
parseDateRange,
|
|
183
|
+
padText,
|
|
184
|
+
normalizePadding,
|
|
185
|
+
normalizeMargin,
|
|
186
|
+
normalizeBorders,
|
|
187
|
+
minimalTheme,
|
|
188
|
+
joinVertical,
|
|
189
|
+
joinHorizontal,
|
|
190
|
+
isUnicodeSupported,
|
|
191
|
+
isResource,
|
|
192
|
+
isRenderable,
|
|
193
|
+
isPlainObject,
|
|
194
|
+
isKeyValue,
|
|
195
|
+
isHierarchy,
|
|
196
|
+
isCollection,
|
|
197
|
+
hstack,
|
|
198
|
+
getTerminalWidth,
|
|
199
|
+
getStringWidth,
|
|
200
|
+
getSpinnerFrame,
|
|
201
|
+
getProgressIndicator,
|
|
202
|
+
getMarker,
|
|
203
|
+
getIndicator,
|
|
204
|
+
getDelimiter,
|
|
205
|
+
getContextTheme,
|
|
206
|
+
getContentWidth,
|
|
207
|
+
getBoxOverhead,
|
|
208
|
+
getBorderCharacters,
|
|
209
|
+
formatRelative,
|
|
210
|
+
formatDuration,
|
|
211
|
+
formatBytes,
|
|
212
|
+
endOfDay,
|
|
213
|
+
drawHorizontalLine,
|
|
214
|
+
defaultTheme,
|
|
215
|
+
createVisualTheme,
|
|
216
|
+
createVStack,
|
|
217
|
+
createTokens,
|
|
218
|
+
createThemedContext,
|
|
219
|
+
createTheme,
|
|
220
|
+
createLayoutContext,
|
|
221
|
+
createHStack,
|
|
222
|
+
createBox,
|
|
223
|
+
clearRenderers,
|
|
224
|
+
boxify,
|
|
225
|
+
boldTheme,
|
|
226
|
+
applyColor,
|
|
227
|
+
TREE_GUIDES,
|
|
228
|
+
SPINNERS,
|
|
229
|
+
INDICATORS,
|
|
230
|
+
DELIMITERS,
|
|
231
|
+
DEFAULT_STACK_THEME,
|
|
232
|
+
BORDERS,
|
|
233
|
+
ANSI_REGEX,
|
|
234
|
+
ANSI
|
|
235
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { INDICATORS, IndicatorCategory, IndicatorSet, ProgressStyle, getIndicator, getProgressIndicator, isUnicodeSupported } from "../shared/@outfitter/cli-sx67mmfx";
|
|
2
|
+
export { isUnicodeSupported, getProgressIndicator, getIndicator, ProgressStyle, IndicatorSet, IndicatorCategory, INDICATORS };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
INDICATORS,
|
|
4
|
+
getIndicator,
|
|
5
|
+
getProgressIndicator,
|
|
6
|
+
isUnicodeSupported
|
|
7
|
+
} from "../shared/@outfitter/cli-p1m5dhrs.js";
|
|
8
|
+
import"../shared/@outfitter/cli-v1tzwxkt.js";
|
|
9
|
+
export {
|
|
10
|
+
isUnicodeSupported,
|
|
11
|
+
getProgressIndicator,
|
|
12
|
+
getIndicator,
|
|
13
|
+
INDICATORS
|
|
14
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Alignment, HorizontalLayoutOptions, VerticalLayoutOptions, createLayoutContext, getBoxOverhead, getContentWidth, getTerminalWidth, joinHorizontal, joinVertical, resolveWidth } from "../shared/@outfitter/cli-9khk3cbq";
|
|
2
|
+
import "../shared/@outfitter/cli-8xsmsbbd";
|
|
3
|
+
import "../shared/@outfitter/cli-fakncnjp";
|
|
4
|
+
import "../shared/@outfitter/cli-2g8bx1aq";
|
|
5
|
+
export { resolveWidth, joinVertical, joinHorizontal, getTerminalWidth, getContentWidth, getBoxOverhead, createLayoutContext, VerticalLayoutOptions, HorizontalLayoutOptions, Alignment };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
createLayoutContext,
|
|
4
|
+
getBoxOverhead,
|
|
5
|
+
getContentWidth,
|
|
6
|
+
getTerminalWidth,
|
|
7
|
+
joinHorizontal,
|
|
8
|
+
joinVertical,
|
|
9
|
+
resolveWidth
|
|
10
|
+
} from "../shared/@outfitter/cli-671sxkhj.js";
|
|
11
|
+
import"../shared/@outfitter/cli-vp88gxev.js";
|
|
12
|
+
import"../shared/@outfitter/cli-jjemfdta.js";
|
|
13
|
+
import"../shared/@outfitter/cli-85fg2vr5.js";
|
|
14
|
+
import"../shared/@outfitter/cli-9nbyj2bt.js";
|
|
15
|
+
import"../shared/@outfitter/cli-d9ad0rqj.js";
|
|
16
|
+
import"../shared/@outfitter/cli-v1tzwxkt.js";
|
|
17
|
+
export {
|
|
18
|
+
resolveWidth,
|
|
19
|
+
joinVertical,
|
|
20
|
+
joinHorizontal,
|
|
21
|
+
getTerminalWidth,
|
|
22
|
+
getContentWidth,
|
|
23
|
+
getBoxOverhead,
|
|
24
|
+
createLayoutContext
|
|
25
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
renderMarkdown
|
|
4
|
+
} from "../shared/@outfitter/cli-afhjqmg3.js";
|
|
5
|
+
import"../shared/@outfitter/cli-9nbyj2bt.js";
|
|
6
|
+
import"../shared/@outfitter/cli-d9ad0rqj.js";
|
|
7
|
+
import"../shared/@outfitter/cli-v1tzwxkt.js";
|
|
8
|
+
export {
|
|
9
|
+
renderMarkdown
|
|
10
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
renderSeparator
|
|
4
|
+
} from "../shared/@outfitter/cli-p38sfxyk.js";
|
|
5
|
+
import"../shared/@outfitter/cli-671sxkhj.js";
|
|
6
|
+
import"../shared/@outfitter/cli-vp88gxev.js";
|
|
7
|
+
import"../shared/@outfitter/cli-jjemfdta.js";
|
|
8
|
+
import"../shared/@outfitter/cli-85fg2vr5.js";
|
|
9
|
+
import"../shared/@outfitter/cli-9nbyj2bt.js";
|
|
10
|
+
import"../shared/@outfitter/cli-d9ad0rqj.js";
|
|
11
|
+
import"../shared/@outfitter/cli-v1tzwxkt.js";
|
|
12
|
+
export {
|
|
13
|
+
renderSeparator
|
|
14
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { Collection, Hierarchy, KeyValue, RenderOptions, Resource, Shape, ShapeRenderer, TreeNode, clearRenderers, isCollection, isHierarchy, isKeyValue, isPlainObject, isResource, registerRenderer, render, treeNodeToRecord, unregisterRenderer } from "../shared/@outfitter/cli-evx7qcp1";
|
|
2
|
+
export { unregisterRenderer, treeNodeToRecord, render, registerRenderer, isResource, isPlainObject, isKeyValue, isHierarchy, isCollection, clearRenderers, TreeNode, ShapeRenderer, Shape, Resource, RenderOptions, KeyValue, Hierarchy, Collection };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
clearRenderers,
|
|
4
|
+
isCollection,
|
|
5
|
+
isHierarchy,
|
|
6
|
+
isKeyValue,
|
|
7
|
+
isPlainObject,
|
|
8
|
+
isResource,
|
|
9
|
+
registerRenderer,
|
|
10
|
+
render,
|
|
11
|
+
treeNodeToRecord,
|
|
12
|
+
unregisterRenderer
|
|
13
|
+
} from "../shared/@outfitter/cli-jhcdwvpn.js";
|
|
14
|
+
import"../shared/@outfitter/cli-3hp8qwx3.js";
|
|
15
|
+
import"../shared/@outfitter/cli-b5c2k0d7.js";
|
|
16
|
+
import"../shared/@outfitter/cli-xg5y5fhk.js";
|
|
17
|
+
import"../shared/@outfitter/cli-an9j0h80.js";
|
|
18
|
+
import"../shared/@outfitter/cli-afhjqmg3.js";
|
|
19
|
+
import"../shared/@outfitter/cli-jjemfdta.js";
|
|
20
|
+
import"../shared/@outfitter/cli-85fg2vr5.js";
|
|
21
|
+
import"../shared/@outfitter/cli-9nbyj2bt.js";
|
|
22
|
+
import"../shared/@outfitter/cli-d9ad0rqj.js";
|
|
23
|
+
import"../shared/@outfitter/cli-v1tzwxkt.js";
|
|
24
|
+
export {
|
|
25
|
+
unregisterRenderer,
|
|
26
|
+
treeNodeToRecord,
|
|
27
|
+
render,
|
|
28
|
+
registerRenderer,
|
|
29
|
+
isResource,
|
|
30
|
+
isPlainObject,
|
|
31
|
+
isKeyValue,
|
|
32
|
+
isHierarchy,
|
|
33
|
+
isCollection,
|
|
34
|
+
clearRenderers
|
|
35
|
+
};
|