fix: add init-db CLI for host install/upgrade metadata seed
All checks were successful
技能自动化发布 / release (push) Successful in 6s

This commit is contained in:
2026-07-26 16:03:27 +08:00
parent 5f0d9e45f8
commit cbbec7cdfc
6 changed files with 108 additions and 15 deletions

View File

@@ -39,7 +39,12 @@ from service.legacy_commands import (
cmd_list,
)
from service.lease_commands import cmd_lease_cleanup, cmd_lease_list, cmd_lease_release
from service.platform_commands import cmd_platform_ensure, cmd_platform_get, cmd_platform_list
from service.platform_commands import (
cmd_init_db,
cmd_platform_ensure,
cmd_platform_get,
cmd_platform_list,
)
__all__ = [
"PlatformCallerMeta",
@@ -60,6 +65,7 @@ __all__ = [
"cmd_delete_by_platform",
"cmd_delete_by_platform_phone",
"cmd_get",
"cmd_init_db",
"cmd_lease_cleanup",
"cmd_lease_list",
"cmd_lease_release",