diff options
| author | Dax Raad <[email protected]> | 2025-06-11 18:45:18 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-06-11 18:45:18 -0400 |
| commit | 9b2b6109206c19f9bcb21362c25805b01f9b9074 (patch) | |
| tree | 37a4bbc182d4f582bbd058849400a7ad855a545c | |
| parent | 468cec545a634fc5dcae37b8557ca2fc721cf0f1 (diff) | |
| download | opencode-9b2b6109206c19f9bcb21362c25805b01f9b9074.tar.gz opencode-9b2b6109206c19f9bcb21362c25805b01f9b9074.zip | |
sync
| -rw-r--r-- | packages/opencode/src/cli/cmd/auth.ts | 4 | ||||
| -rw-r--r-- | packages/opencode/src/cli/cmd/generate.ts | 2 | ||||
| -rw-r--r-- | packages/opencode/src/cli/cmd/scrap.ts | 1 |
3 files changed, 2 insertions, 5 deletions
diff --git a/packages/opencode/src/cli/cmd/auth.ts b/packages/opencode/src/cli/cmd/auth.ts index b53cf03bd..80fcb64d5 100644 --- a/packages/opencode/src/cli/cmd/auth.ts +++ b/packages/opencode/src/cli/cmd/auth.ts @@ -8,12 +8,12 @@ import { ModelsDev } from "../../provider/models" export const AuthCommand = cmd({ command: "auth", + describe: "manage credentials", builder: (yargs) => yargs .command(AuthLoginCommand) .command(AuthLogoutCommand) - .command(AuthListCommand) - .demandCommand(), + .command(AuthListCommand), async handler(args) {}, }) diff --git a/packages/opencode/src/cli/cmd/generate.ts b/packages/opencode/src/cli/cmd/generate.ts index 1390f2719..0cef10772 100644 --- a/packages/opencode/src/cli/cmd/generate.ts +++ b/packages/opencode/src/cli/cmd/generate.ts @@ -5,7 +5,6 @@ import type { CommandModule } from "yargs" export const GenerateCommand = { command: "generate", - describe: "Generate OpenAPI and event specs", handler: async () => { const specs = await Server.openapi() const dir = "gen" @@ -17,4 +16,3 @@ export const GenerateCommand = { ) }, } satisfies CommandModule - diff --git a/packages/opencode/src/cli/cmd/scrap.ts b/packages/opencode/src/cli/cmd/scrap.ts index 13f24ae27..1102e6ddc 100644 --- a/packages/opencode/src/cli/cmd/scrap.ts +++ b/packages/opencode/src/cli/cmd/scrap.ts @@ -6,7 +6,6 @@ export const ScrapCommand = cmd({ command: "scrap <file>", builder: (yargs) => yargs.positional("file", { type: "string", demandOption: true }), - describe: "test command", async handler() { await App.provide({ cwd: process.cwd(), version: VERSION }, async (app) => { Bun.resolveSync("typescript/lib/tsserver.js", app.path.cwd) |
