feat: add flask command file-usage (#30500)

This commit is contained in:
wangxiaolei
2026-01-05 10:52:21 +08:00
committed by GitHub
parent eb321ad614
commit d0564ac63c
2 changed files with 213 additions and 0 deletions
+2
View File
@@ -11,6 +11,7 @@ def init_app(app: DifyApp):
create_tenant,
extract_plugins,
extract_unique_plugins,
file_usage,
fix_app_site_missing,
install_plugins,
install_rag_pipeline_plugins,
@@ -47,6 +48,7 @@ def init_app(app: DifyApp):
clear_free_plan_tenant_expired_logs,
clear_orphaned_file_records,
remove_orphaned_files_on_storage,
file_usage,
setup_system_tool_oauth_client,
setup_system_trigger_oauth_client,
cleanup_orphaned_draft_variables,