Files
neuron/packages/cli/src/index.ts
T
2026-05-30 00:49:52 -04:00

16 lines
487 B
TypeScript
Executable File

#!/usr/bin/env bun
import * as NodeRuntime from "@effect/platform-node/NodeRuntime"
import * as NodeServices from "@effect/platform-node/NodeServices"
import * as Effect from "effect/Effect"
import * as Command from "effect/unstable/cli/Command"
const cli = Command.make("opencode", {}, () => Effect.void).pipe(
Command.withDescription("OpenCode command line interface"),
)
Command.run(cli, { version: "local" }).pipe(
Effect.provide(NodeServices.layer),
NodeRuntime.runMain,
)