Add CLI update check and API client kind identity

This commit is contained in:
Gregory Schier
2026-03-02 06:21:00 -08:00
parent f302dc39a2
commit 96e8572758
14 changed files with 280 additions and 30 deletions

View File

@@ -5,6 +5,7 @@ mod plugin_events;
mod ui;
mod utils;
mod version;
mod version_check;
use clap::Parser;
use cli::{Cli, Commands, RequestCommands};
@@ -32,6 +33,8 @@ async fn main() {
dirs::data_dir().expect("Could not determine data directory").join(app_id)
});
version_check::maybe_check_for_updates().await;
let needs_context = matches!(
&command,
Commands::Send(_)