MCPcopy Create free account
hub / github.com/arctic-cli/interface / BunShellOutput

Interface BunShellOutput

packages/plugin/src/shell.ts:105–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105export interface BunShellOutput {
106 readonly stdout: Buffer
107 readonly stderr: Buffer
108 readonly exitCode: number
109
110 /**
111 * Read from stdout as a string
112 */
113 text(encoding?: BufferEncoding): string
114
115 /**
116 * Read from stdout as a JSON object
117 */
118 json(): any
119
120 /**
121 * Read from stdout as an ArrayBuffer
122 */
123 arrayBuffer(): ArrayBuffer
124
125 /**
126 * Read from stdout as an Uint8Array
127 */
128 bytes(): Uint8Array
129
130 /**
131 * Read from stdout as a Blob
132 */
133 blob(): Blob
134}
135
136export type BunShellError = Error & BunShellOutput

Callers 26

index.tsFile · 0.65
requestFunction · 0.65
requestFunction · 0.65
tailwind.tsFile · 0.65
checkPackageExistsFunction · 0.65
addDistTagFunction · 0.65
preload.tsFile · 0.65
index.tsFile · 0.65
getVersionToFixFunction · 0.65
getCurrentDistTagsFunction · 0.65
spawnFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected