mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-26 23:28:43 +00:00
Add packages/cli-rs, an OpenCode client written in Rust on OpenTUI's Rust crates. It is a client only.
5 lines
222 B
Rust
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());
|
|
}
|