run method
Implementation
Future<void> run() async {
// 检查是否安装了 GetX
if (!await _isGetxInstalled()) {
// 安装 GetX
await _installGetx();
}
// 生成 GetX 项目结构
_createGetXStructure('.');
print('GetX 项目已初始化!');
}
Future<void> run() async {
// 检查是否安装了 GetX
if (!await _isGetxInstalled()) {
// 安装 GetX
await _installGetx();
}
// 生成 GetX 项目结构
_createGetXStructure('.');
print('GetX 项目已初始化!');
}