tldraw/scripts/lib
alex 859fff480d
add env and prefix output options to exec (#1217)
We make use of this `exec` function for the new huppy bot. For that, I
needed to support a couple of extra use-cases: extending the `env` used
to evaluate a command, and prefixing the command output with a string.

In use, these look something like this:
```ts
await exec('my', ['command'], {
    env: {HELLO: 'world'},
    ...prefixOutput('my prefix'),
})
```
2023-05-02 16:13:09 +00:00
..
add-extensions.ts transfer-out: transfer out 2023-04-25 12:01:25 +01:00
eslint-plugin.ts transfer-out: transfer out 2023-04-25 12:01:25 +01:00
exec.ts add env and prefix output options to exec (#1217) 2023-05-02 16:13:09 +00:00
file.ts transfer-out: transfer out 2023-04-25 12:01:25 +01:00
publishing.ts transfer-out: transfer out 2023-04-25 12:01:25 +01:00
sort-unions.ts transfer-out: transfer out 2023-04-25 12:01:25 +01:00
workspace.ts transfer-out: transfer out 2023-04-25 12:01:25 +01:00