feat: Created a new .install command to install bundled assets on-demand

This commit is contained in:
2026-05-18 14:59:02 -06:00
parent 06fe1f9471
commit a22faad992
8 changed files with 222 additions and 18 deletions
+3
View File
@@ -145,6 +145,9 @@ async fn run(
text: Option<String>,
abort_signal: AbortSignal,
) -> Result<()> {
if let Some(category) = cli.install {
return config::install_assets(category);
}
if cli.sync_models {
let url = ctx.app.config.sync_models_url();
return sync_models(&url, abort_signal.clone()).await;