Dax Raad 8 месяцев назад
Родитель
Сommit
9b2b610920

+ 2 - 2
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) {},
 })
 

+ 0 - 2
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
-

+ 0 - 1
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)