mini migrate to v2 (#35526)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import yargs from "yargs"
|
||||
import { MiniCommand } from "./cli/cmd/mini"
|
||||
import { TuiThreadCommand } from "./cli/cmd/tui"
|
||||
import { V2ServeCommand } from "./cli/cmd/v2-serve"
|
||||
import { InstallationVersion } from "@opencode-ai/core/installation/version"
|
||||
import { hideBin } from "yargs/helpers"
|
||||
const cli = yargs(hideBin(process.argv))
|
||||
@@ -28,6 +28,6 @@ const cli = yargs(hideBin(process.argv))
|
||||
if (opts.printLogs) process.env.OPENCODE_PRINT_LOGS = "1"
|
||||
if (opts.logLevel) process.env.OPENCODE_LOG_LEVEL = opts.logLevel
|
||||
})
|
||||
.command(MiniCommand)
|
||||
.command(V2ServeCommand)
|
||||
.command(TuiThreadCommand)
|
||||
.parse()
|
||||
|
||||
Reference in New Issue
Block a user