Explorar o código

feat: add bash shell completions (#6239)

scarf hai 3 meses
pai
achega
e35d97f9d7
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      packages/opencode/src/index.ts

+ 1 - 0
packages/opencode/src/index.ts

@@ -77,6 +77,7 @@ const cli = yargs(hideBin(process.argv))
     })
   })
   .usage("\n" + UI.logo())
+  .completion("completion", "generate shell completion script")
   .command(AcpCommand)
   .command(McpCommand)
   .command(TuiThreadCommand)