This commit is contained in:
Dax Raad
2025-06-11 19:00:09 -04:00
parent 9b2b610920
commit aab47714c9
3 changed files with 12 additions and 8 deletions

View File

@@ -33,6 +33,7 @@ const cli = yargs(hideBin(process.argv))
args: process.argv.slice(2),
})
})
.usage("\n" + UI.logo())
.command({
command: "$0",
describe: "Start OpenCode TUI",
@@ -85,7 +86,9 @@ const cli = yargs(hideBin(process.argv))
)
if (result === "done") break
if (result === "needs_provider") {
UI.logo()
UI.empty()
UI.println(UI.logo(" "))
UI.empty()
await AuthLoginCommand.handler(args)
}
}