add opencode import command to restore sessions from JSON exports

This commit is contained in:
Dax Raad
2025-11-05 18:04:31 -05:00
parent e006e3355c
commit 306f45f04a
2 changed files with 53 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ import { StatsCommand } from "./cli/cmd/stats"
import { McpCommand } from "./cli/cmd/mcp"
import { GithubCommand } from "./cli/cmd/github"
import { ExportCommand } from "./cli/cmd/export"
import { ImportCommand } from "./cli/cmd/import"
import { AttachCommand } from "./cli/cmd/tui/attach"
import { TuiThreadCommand } from "./cli/cmd/tui/thread"
import { TuiSpawnCommand } from "./cli/cmd/tui/spawn"
@@ -87,6 +88,7 @@ const cli = yargs(hideBin(process.argv))
.command(ModelsCommand)
.command(StatsCommand)
.command(ExportCommand)
.command(ImportCommand)
.command(GithubCommand)
.fail((msg) => {
if (