我想通过提供所有参数来创建带有命令行的数据源,而无需提示任何问题。
我的config.json
:
{
"name": "db10",
"connector": "mongodb",
"url": "",
"host": "localhost",
"port": 27017,
"user": "username",
"password": "password",
"database": "test",
"skipInstall": true
}
我创建数据源的命令行:
lb4 datasource --config config.json
但仍然提示我:
> lb4 datasource --config config.json
? Datasource name: