opencode/packages/cli-rs/crates/plugin-abi/examples/schema.rs
Simon Klee 6b1df0cceb
feat(cli-rs): add the native CLI and TUI (#63477)
Add packages/cli-rs, an OpenCode client written in Rust on OpenTUI's Rust crates. It is a client only.
2026-11-22 00:07:01 +01:00

5 lines
222 B
Rust

//! Prints the JSON Schema of plugin contract 2.0; `script/gen/plugin-schema.ts` writes it to `schema/v2.json`.
fn main() {
println!("{}", serde_json::to_string_pretty(&opencode_plugin_abi::v2::schema()).unwrap());
}