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

This commit is contained in:
Dark-Alex-17 committed 2026-05-18 14:59:02 -06:00
1 parent 5bd0766a60
commit a3d67bfbf7
8 files changed
+222 -18

No files matched your search

+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;