def cli(): return CliClient()
def migrate(cli: CliClient, mongo: MongoClient): """Migrate main DB and tenant DBs using useradm's CLI interface.""" cli.migrate() cli.migrate(tenant_id=TENANT_ONE) cli.migrate(tenant_id=TENANT_TWO)