mirror of
https://github.com/sst/opencode.git
synced 2025-07-07 16:14:59 +00:00
wip: logs
This commit is contained in:
parent
b8de69dced
commit
3bc238b58b
1 changed files with 4 additions and 0 deletions
|
@ -9,6 +9,7 @@ import fs from "fs/promises"
|
|||
import { Installation } from "../../installation"
|
||||
import { Config } from "../../config/config"
|
||||
import { Bus } from "../../bus"
|
||||
import { Log } from "../../util/log"
|
||||
|
||||
export const TuiCommand = cmd({
|
||||
command: "$0 [project]",
|
||||
|
@ -57,6 +58,9 @@ export const TuiCommand = cmd({
|
|||
cwd = process.cwd()
|
||||
cmd = [binary]
|
||||
}
|
||||
Log.Default.info("tui", {
|
||||
cmd,
|
||||
})
|
||||
const proc = Bun.spawn({
|
||||
cmd: [...cmd, ...process.argv.slice(2)],
|
||||
cwd,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue