summaryrefslogtreecommitdiffhomepage
path: root/packages/opencode/src/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/opencode/src/index.ts')
-rw-r--r--packages/opencode/src/index.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/opencode/src/index.ts b/packages/opencode/src/index.ts
index 868c96ba0..e70692103 100644
--- a/packages/opencode/src/index.ts
+++ b/packages/opencode/src/index.ts
@@ -18,6 +18,7 @@ import { DebugCommand } from "./cli/cmd/debug"
import { StatsCommand } from "./cli/cmd/stats"
import { McpCommand } from "./cli/cmd/mcp"
import { GithubCommand } from "./cli/cmd/github"
+import { ExportCommand } from "./cli/cmd/export"
const cancel = new AbortController()
@@ -80,6 +81,7 @@ const cli = yargs(hideBin(process.argv))
.command(ServeCommand)
.command(ModelsCommand)
.command(StatsCommand)
+ .command(ExportCommand)
.command(GithubCommand)
.fail((msg) => {
if (msg.startsWith("Unknown argument") || msg.startsWith("Not enough non-option arguments")) {
@@ -105,6 +107,7 @@ try {
name: e.name,
message: e.message,
cause: e.cause?.toString(),
+ stack: e.stack,
})
}