mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-22 10:14:22 +01:00
wip: scrap
This commit is contained in:
@@ -3,6 +3,7 @@ import { cmd } from "../cmd"
|
|||||||
import { FileCommand } from "./file"
|
import { FileCommand } from "./file"
|
||||||
import { LSPCommand } from "./lsp"
|
import { LSPCommand } from "./lsp"
|
||||||
import { RipgrepCommand } from "./ripgrep"
|
import { RipgrepCommand } from "./ripgrep"
|
||||||
|
import { ScrapCommand } from "./scrap"
|
||||||
import { SnapshotCommand } from "./snapshot"
|
import { SnapshotCommand } from "./snapshot"
|
||||||
|
|
||||||
export const DebugCommand = cmd({
|
export const DebugCommand = cmd({
|
||||||
@@ -12,6 +13,7 @@ export const DebugCommand = cmd({
|
|||||||
.command(LSPCommand)
|
.command(LSPCommand)
|
||||||
.command(RipgrepCommand)
|
.command(RipgrepCommand)
|
||||||
.command(FileCommand)
|
.command(FileCommand)
|
||||||
|
.command(ScrapCommand)
|
||||||
.command(SnapshotCommand)
|
.command(SnapshotCommand)
|
||||||
.command({
|
.command({
|
||||||
command: "wait",
|
command: "wait",
|
||||||
|
|||||||
7
packages/opencode/src/cli/cmd/debug/scrap.ts
Normal file
7
packages/opencode/src/cli/cmd/debug/scrap.ts
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
import { cmd } from "../cmd"
|
||||||
|
|
||||||
|
export const ScrapCommand = cmd({
|
||||||
|
command: "scrap",
|
||||||
|
builder: (yargs) => yargs,
|
||||||
|
async handler() {},
|
||||||
|
})
|
||||||
Reference in New Issue
Block a user