run method

Future<void> run(
  1. String repositoryName, {
  2. String? path,
})

Implementation

Future<void> run(String repositoryName, {String? path}) async {
  if (repositoryName.isEmpty) {
    print('请输入数据仓库名称: ');
    return;
  }

  _createRepositoryFile(repositoryName, path: path);

  print('数据仓库已创建: $repositoryName');
}