feat: Created a new .install command to install bundled assets on-demand
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user