summaryrefslogtreecommitdiffhomepage
path: root/packages/desktop/src-tauri/src/cli.rs
diff options
context:
space:
mode:
authorBrendan Allan <[email protected]>2026-02-02 15:58:08 +0800
committerGitHub <[email protected]>2026-02-02 07:58:08 +0000
commit04aef44fc30d599f11ea2ada60ed63c4856a18ff (patch)
tree391c103e232d085f9322dec41d0321752d27f154 /packages/desktop/src-tauri/src/cli.rs
parentc02dd067b2ae62553c63b087b7b48a0f46628747 (diff)
downloadopencode-04aef44fc30d599f11ea2ada60ed63c4856a18ff.tar.gz
opencode-04aef44fc30d599f11ea2ada60ed63c4856a18ff.zip
chore(desktop): integrate tauri-specta (#11740)
Diffstat (limited to 'packages/desktop/src-tauri/src/cli.rs')
-rw-r--r--packages/desktop/src-tauri/src/cli.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/desktop/src-tauri/src/cli.rs b/packages/desktop/src-tauri/src/cli.rs
index f64beed6a..16e4bfec9 100644
--- a/packages/desktop/src-tauri/src/cli.rs
+++ b/packages/desktop/src-tauri/src/cli.rs
@@ -51,6 +51,7 @@ fn is_cli_installed() -> bool {
const INSTALL_SCRIPT: &str = include_str!("../../../../install");
#[tauri::command]
+#[specta::specta]
pub fn install_cli(app: tauri::AppHandle) -> Result<String, String> {
if cfg!(not(unix)) {
return Err("CLI installation is only supported on macOS & Linux".to_string());